RFR: 8295176: some langtools test pollutes source tree [v2]
Jan Lahoda
jlahoda at openjdk.org
Mon Oct 17 13:49:07 UTC 2022
> 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.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10724/files
- new: https://git.openjdk.org/jdk/pull/10724/files/8d452c71..34eb4ed5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10724&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10724&range=00-01
Stats: 9 lines in 3 files changed: 5 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/10724.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10724/head:pull/10724
PR: https://git.openjdk.org/jdk/pull/10724
More information about the compiler-dev
mailing list