RFR: 8255855: appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE
Ioi Lam
iklam at openjdk.java.net
Wed Nov 4 17:16:56 UTC 2020
On Wed, 4 Nov 2020 17:06:50 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> 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.
Looks good and a trivial fix.
-------------
Marked as reviewed by iklam (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/1063
More information about the hotspot-runtime-dev
mailing list