RFR: 8287760: --do-not-resolve-by-default gets overwritten if --warn-if-resolved flags is used [v8]

Alan Bateman alanb at openjdk.java.net
Fri Jun 10 18:05:06 UTC 2022


On Fri, 10 Jun 2022 16:30:57 GMT, Thiago Henrique Hüpner <duke at openjdk.java.net> wrote:

>> 8287760: --do-not-resolve-by-default gets overwritten if --warn-if-resolved flags is used
>
> Thiago Henrique Hüpner has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix copyright year

test/jdk/tools/jar/modularJar/Basic.java line 44:

> 42: 
> 43: import jdk.internal.module.ModuleReferenceImpl;
> 44: import jdk.internal.module.ModuleResolution;

At some point we need to put in test infrastructure to avoid this and a few other tests from depending on JDK internals.

test/jdk/tools/jar/modularJar/Basic.java line 951:

> 949: 
> 950:     @DataProvider(name = "resolutionNames")
> 951:     public Object[][] resolutionNames() {

This is a data provider for resolution warnings, maybe it should be renamed.

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

PR: https://git.openjdk.org/jdk/pull/9049


More information about the core-libs-dev mailing list