Integrated: 8255855: appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE

Calvin Cheung ccheung at openjdk.java.net
Wed Nov 4 17:20:55 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.

This pull request has now been integrated.

Changeset: 5348298f
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5348298f
Stats:     2 lines in 2 files changed: 1 ins; 1 del; 0 mod

8255855: appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE

Reviewed-by: iklam

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

PR: https://git.openjdk.java.net/jdk/pull/1063


More information about the hotspot-runtime-dev mailing list