On Wed, 18 Mar 2026 18:10:58 GMT, Brian Burkhalter <[email protected]> wrote:

> On Windows, relax the success criterion of `ListRoots` to the values returned 
> by `File.listRoots` intersecting the values returned by 
> `FileSystem.getRootDirectories` instead of being equal.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: a23ce9cd
Author:    Brian Burkhalter <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/a23ce9cd30305e7d7339c7f74e1084ea20e345ca
Stats:     50 lines in 1 file changed: 32 ins; 6 del; 12 mod

8379535: test/jdk/java/io/File/ListRoots.java fails with RuntimeException: Does 
not match FileSystem::getRootDirectories

Reviewed-by: alanb

-------------

PR: https://git.openjdk.org/jdk/pull/30301

Reply via email to