< prev index next >

test/hotspot/jtreg/runtime/appcds/MismatchedUseAppCDS.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 57,67 **** // command-line arguments ... use_whitebox_jar, "-XX:-UseAppCDS", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", ! "CheckIfShared", "false"); TestCommon.checkExec(output); // (2): dump with -XX:-UseAppCDS, but run with -XX:+UseAppCDS TestCommon.testDump(appJar, TestCommon.list("CheckIfShared"), // command-line arguments ... --- 57,67 ---- // command-line arguments ... use_whitebox_jar, "-XX:-UseAppCDS", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", ! "CheckIfShared", "true"); TestCommon.checkExec(output); // (2): dump with -XX:-UseAppCDS, but run with -XX:+UseAppCDS TestCommon.testDump(appJar, TestCommon.list("CheckIfShared"), // command-line arguments ...
*** 72,80 **** // command-line arguments ... use_whitebox_jar, "-XX:+UseAppCDS", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", ! "CheckIfShared", "false"); TestCommon.checkExec(output); } } --- 72,80 ---- // command-line arguments ... use_whitebox_jar, "-XX:+UseAppCDS", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", ! "CheckIfShared", "true"); TestCommon.checkExec(output); } }
< prev index next >