On Fri, 10 Dec 2021 16:30:37 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:
>> Christian Stein has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Turn `getRealPath()` into a no-arg helper method > > test/langtools/tools/javac/T8271079.java line 39: > >> 37: import java.util.*; >> 38: import java.util.jar.JarEntry; >> 39: import javax.tools.*; > > You could add an explicit `import java.util.spi.ToolProvider;` to remove the > need for qualified names in the code Such an import would break line 80: `ToolProvider.getSystemJavaCompiler()` as this one refers to `ToolProvider` in package `javax.tools`. ------------- PR: https://git.openjdk.java.net/jdk/pull/6768