RFR(XS): 8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent

Harold David Seigel harold.seigel at oracle.com
Mon Oct 29 20:32:58 UTC 2018


Hi Calvin,

The fix looks good and trivial.

Thanks, Harold


On 10/29/2018 4:30 PM, Calvin Cheung wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8212154
>
> webrev: http://cr.openjdk.java.net/~ccheung/8212154/webrev.00/
>
> The ArchivedModuleComboTest.java and the 
> ArchivedModuleWithCustomImageTest.java failed with NPE if tested with 
> a JDK build without JVMCI. A fix is to add a null check on 
> wb.getBooleanVMFlag("EnableJVMCI").
>
> Testing:
>     Ran the 2 tests locally on linux-x64 with JDK builds (with and 
> without JVMCI).
>
> thanks,
> Calvin



More information about the hotspot-runtime-dev mailing list