RFR: 8349475: Test tools/javac/api/TestJavacTaskWithWarning.java writes files in src dir [v2]

Jan Lahoda jlahoda at openjdk.org
Mon Feb 10 18:16:16 UTC 2025


On Mon, 10 Feb 2025 17:15:26 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Correct generating files into the work directory, not the directory of test sources.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Respond to review feedback.

test/langtools/tools/javac/api/TestJavacTaskWithWarning.java line 53:

> 51: 
> 52:         // Create a source file that will generate a warning
> 53:         String srcdir = System.getProperty(".");

Sorry, I wasn't very precise, I mean something along these lines:
Suggestion:

        String srcdir = ".";

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23527#discussion_r1949652483


More information about the compiler-dev mailing list