Integrated: 8338675: javac shouldn't silently change .jar files on the classpath

David Beaumont duke at openjdk.org
Thu Apr 3 05:40:11 UTC 2025


On Wed, 19 Feb 2025 15:46:34 GMT, David Beaumont <duke at openjdk.org> wrote:

> Modifying `JavacFileManager` to skip creating sibling output class files for source files found in JARs.
> 
> This should match older (JDK 8) behavior whereby the JAR was not writable, and results in any newly generated class files being written to the current working directory (the output of class files into current directory isn't good, but it should match the old behavior).

This pull request has now been integrated.

Changeset: bd749221
Author:    David Beaumont <david.beaumont at oracle.com>
Committer: Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bd74922157230c866802b4c5269da81e872525aa
Stats:     329 lines in 3 files changed: 325 ins; 0 del; 4 mod

8338675: javac shouldn't silently change .jar files on the classpath

Reviewed-by: jlahoda

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

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


More information about the compiler-dev mailing list