File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ vmTestbase/metaspace/gc/firstGC_50m/TestDescription.java 8208250 generic-all
162162vmTestbase/metaspace/gc/firstGC_99m/TestDescription.java 8208250 generic-all
163163vmTestbase/metaspace/gc/firstGC_default/TestDescription.java 8208250 generic-all
164164
165- vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java 8202971 generic-all
166165vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java 8073470 linux-all
167166vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java 8288911 macosx-all
168167
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2008, 2020 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2008, 2025 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -106,7 +106,12 @@ public String getTargetApp() {
106106 throw new TestBug ("Target application isn't specified" );
107107 }
108108
109- return options .getProperty (TARGET_APP_PARAM );
109+ String target = options .getProperty (TARGET_APP_PARAM );
110+ // target may contain class and arguments in surrounding quotes
111+ if (target .startsWith ("\" " ) && target .endsWith ("\" " )) {
112+ target = target .substring (1 , target .length () - 1 );
113+ }
114+ return target ;
110115 }
111116
112117 public String getTestedJDK () {
You can’t perform that action at this time.
0 commit comments