RFR: 8255855: appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE
Calvin Cheung
ccheung at openjdk.java.net
Wed Nov 4 17:12:00 UTC 2020
The test.src system property is not being passed to the child process. The problem was not noticed before the fix for https://bugs.openjdk.java.net/browse/JDK-8254876 because the child process does not require the test.src property.
After the fix for JDK-8254876, we got NPE in the following call because the first arg is null:
`Paths.get(TEST_SRC, "modulepath/src");`
A simple fix is to pass the system property to the child process.
Testing: tiers 1,2,3.
-------------
Commit messages:
- remove the test from the ProblemList
- Merge branch 'master' into 8255855
- 8255855: appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE
Changes: https://git.openjdk.java.net/jdk/pull/1063/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1063&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8255855
Stats: 2 lines in 2 files changed: 1 ins; 1 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/1063.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1063/head:pull/1063
PR: https://git.openjdk.java.net/jdk/pull/1063
More information about the hotspot-runtime-dev
mailing list