RFR: 8349475: Test tools/javac/api/TestJavacTaskWithWarning.java writes files in src dir
Joe Darcy
darcy at openjdk.org
Mon Feb 10 17:15:26 UTC 2025
On Mon, 10 Feb 2025 17:03:02 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> I think we usually use `"."`/current working directory as the target for temporary files. Like here:
>
> https://github.com/openjdk/jdk/blob/ab66c82ce9fdb5ee3fd7690f42b8ad4d78bf5e40/test/langtools/tools/javac/ClassPathTest/ClassPathTest.java#L87
>
> I think it is a test's "working directory".
>
> But `test.classes` would probably work as well.
Okay; changed to "." to conform to the broader conventions. Thanks @lahodaj .
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23527#issuecomment-2648710177
More information about the compiler-dev
mailing list