Integrated: 8295176: some langtools test pollutes source tree

Jan Lahoda jlahoda at openjdk.org
Tue Oct 18 07:48:12 UTC 2022


On Mon, 17 Oct 2022 09:35:40 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.

This pull request has now been integrated.

Changeset: 71aa8210
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/71aa8210910dbafe30eccc772eaa7747f46be0cd
Stats:     9 lines in 3 files changed: 5 ins; 0 del; 4 mod

8295176: some langtools test pollutes source tree

Reviewed-by: sadayapalam, darcy, vromero

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

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


More information about the compiler-dev mailing list