RFR(XS) 8218029 [TESTBUG] Use -Djava.class.path= to specify empty -cp in CDS tests
David Holmes
david.holmes at oracle.com
Wed Jan 30 04:35:27 UTC 2019
Hi Ioi,
On 30/01/2019 1:51 pm, Ioi Lam wrote:
> https://bugs.openjdk.java.net/browse/JDK-8218029
> http://cr.openjdk.java.net/~iklam/jdk13/8218029-testbug-empty-classpath.v01/
>
>
> Please review this simple fix. For portability,
>
> "-cp", "\"\"",
>
> in the JVM command-line is replaced with
>
> "-Djava.class.path="
Not sure I see how this works. ProcessTools will add:
-cp <value of java.class.path>
but you are setting java.class.path to be empty so to me that means
ProcessTools will set
-cp
which is an error? Or does it somehow become
-cp ""
??
And does that mean the actual command-line ends up with:
-cp "" -Djava.library.path=
?
Thanks,
David
>
> Thanks!
>
> Ioi
>
More information about the hotspot-runtime-dev
mailing list