Integrated: 8321739: Source launcher fails with "Not a directory" error

Christian Stein cstein at openjdk.org
Tue Dec 12 15:33:34 UTC 2023


On Tue, 12 Dec 2023 08:56:58 GMT, Christian Stein <cstein at openjdk.org> wrote:

> Please review this change to allow files sharing names with packages when using the Java source launcher.
> 
> The now used `!Files.exists()` returns a boolean value on Unix-based file systems instead of throwing an exception as `Files.notExists()` does when one or more elements of the tested path are files (and not directories), in addition of the the last element.
> 
> Tested: tier1

This pull request has now been integrated.

Changeset: df4ed7ef
Author:    Christian Stein <cstein at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/df4ed7eff7cc4afb2f0bcfdbb2489715ab209737
Stats:     4 lines in 3 files changed: 1 ins; 0 del; 3 mod

8321739: Source launcher fails with "Not a directory" error

Reviewed-by: jlahoda

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

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


More information about the compiler-dev mailing list