RFR: 8295176: some langtools test pollutes source tree [v2]
Joe Darcy
darcy at openjdk.org
Mon Oct 17 17:08:05 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.
Marked as reviewed by darcy (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/10724
More information about the compiler-dev
mailing list