RFR: 8338675: javac shouldn't silently change .jar files on the classpath [v8]
duke
duke at openjdk.org
Tue Apr 1 12:46:18 UTC 2025
On Tue, 1 Apr 2025 12:20:46 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).
>
> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
>
> Add final test for sourcepath entry (same behaviour).
@david-beaumont
Your change (at version 6fcea57f2925b2ed6f17f3b0d6b7239adb8e6168) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23699#issuecomment-2769236369
More information about the compiler-dev
mailing list