Starting tests for jkd/tools/jlink

Oliver Kopp kopp.dev at gmail.com
Wed Oct 19 12:10:16 UTC 2022


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


Is there a previous make target missing I should execute?

I am running on Windows 10 and have configured the jdk as follows:

./configure --with-boot-jdk=/cygdrive/c/Program\ Files/OpenJDK/jdk-19/
--with-jtreg=/cygdrive/c/git-repositories/jdk/jtreg/build/images/jtreg

Cheers,

Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jtreg-use/attachments/20221019/45603f96/attachment.htm>


More information about the jtreg-use mailing list