--- old/test/hotspot/jtreg/runtime/appcds/jvmti/InstrumentationTest.java 2018-10-11 14:59:39.233148814 -0700 +++ new/test/hotspot/jtreg/runtime/appcds/jvmti/InstrumentationTest.java 2018-10-11 14:59:38.797133562 -0700 @@ -120,7 +120,7 @@ "-XX:+WhiteBoxAPI", "-Xshare:off", agentCmdArg, - "InstrumentationApp", bootJar, appJar, custJar, flagFile); + "InstrumentationApp", flagFile, bootJar, appJar, custJar); TestCommon.executeAndLog(pb, "no-sharing").shouldHaveExitValue(0); checkAttach(t); @@ -155,7 +155,7 @@ "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", agentCmdArg, - "InstrumentationApp", bootJar, appJar, custJar, flagFile); + "InstrumentationApp", flagFile, bootJar, appJar, custJar); CDSOptions opts = (new CDSOptions()).setXShareMode("auto"); TestCommon.checkExec(out, opts);