RFR: 8295176: some langtools test pollutes source tree [v2]

Jan Lahoda jlahoda at openjdk.org
Tue Oct 18 07:46:16 UTC 2022


On Mon, 17 Oct 2022 13:49:07 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> The `ReleaseOptionThroughAPI.java` test compiles another test source, `ReleaseOption.java`. But it does not specify the output directory, so javac generates the classfile next to the source files into the source directory, causing trouble.
>> 
>> The proposed fix is to add `-d .` to the test, so that the classfile is not generated into the working directory.
>
> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Restoring negative --release tests.

Thanks for the reviews!

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

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


More information about the compiler-dev mailing list