RFR: 8271079: JavaFileObject#toUri and multi-release jars [v3]
Christian Stein
cstein at openjdk.java.net
Sat Dec 11 11:03:10 UTC 2021
On Fri, 10 Dec 2021 16:30:37 GMT, Jonathan Gibbons <jjg at 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
More information about the nio-dev
mailing list