RFR(S): 8210990: [TESTBUG] Some CDS tests don't respect JVM variant being tested (original) (raw)
Calvin Cheung calvin.cheung at oracle.com
Mon Oct 22 15🔞25 UTC 2018
- Previous message: RFR(S): 8210990: [TESTBUG] Some CDS tests don't respect JVM variant being tested
- Next message: RFR(S) 8212200 assert when shared java.lang.Object is redefined by JVMTI agent
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks, Ioi.
Calvin
On 10/21/18, 11:28 PM, Ioi Lam wrote:
Hi Calvin,
The changes looks good. Thanks - Ioi On 10/19/18 5:38 PM, Calvin Cheung wrote: bug: https://bugs.openjdk.java.net/browse/JDK-8210990
webrev: http://cr.openjdk.java.net/~ccheung/8210990/webrev.00/ Some CDS tests use the CDSTestUtils.createArchive() when creating the shared archive and use the CDSTestUtils.executeAndLog() when using the archive. This results in some flag used when creating the archive not being passed to the subsequent JVM which tries to load the archive and resulting in error such as "The shared archive file was created by a different version or build of HotSpot" while processing the archive. A fix is to use the CDSTestUtils.run() instead of executeAndLog(). Sanity hs-tier{1,2,3] tested. Also tested with special build with which the problem was reproduced. thanks, Calvin
- Previous message: RFR(S): 8210990: [TESTBUG] Some CDS tests don't respect JVM variant being tested
- Next message: RFR(S) 8212200 assert when shared java.lang.Object is redefined by JVMTI agent
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]