Starting tests for jkd/tools/jlink
Alan Bateman
Alan.Bateman at oracle.com
Wed Oct 19 12:19:50 UTC 2022
On 19/10/2022 14:10, Oliver Kopp wrote:
> Hi,
>
> I tried to follow the instructions at
> https://github.com/openjdk/jdk/blob/master/doc/testing.md#using-make-test-the-run-test-framework
> to run a test.
>
> I tried to execute the following statement:
>
> make test TEST="jtreg:test/jdk/tools
> test/jdk/tools/jlink/JLink100Modules.java"
>
> The result is as follows (excerpt)
>
> Building target 'test' in configuration 'windows-x86_64-server-release'
> Test selection 'jtreg:test/jdk/tools
> test/jdk/tools/jlink/JLink100Modules.java', will run:
> * jtreg:test/jdk/tools
> * jtreg:test/jdk/tools/jlink/JLink100Modules.java
>
> Running test 'jtreg:test/jdk/tools'
> Error occurred during initialization of boot layer
> java.lang.NullPointerException: Cannot invoke
> "java.lang.Iterable.iterator()" because "enums" is null
> Error: Compilation of extra property definition files failed. rc=1
> Finished running test 'jtreg:test/jdk/tools'
> Test report is stored in
> build/windows-x86_64-server-release/test-results/jtreg_test_jdk_tools
>
I'm guessing this is related to pull/10704. What does the following print
build/windows-x86_64-server-release/images/jdk/bin/java --add-modules
ALL-MODULE-PATH -Xlog:init=debug -XX:+UnlockDiagnosticVMOptions
-XX:+BytecodeVerificationLocal -version
-Alan
More information about the jtreg-use
mailing list