Skip to content

Commit ca0e014

Browse files
committed
8252003: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jvmti
Reviewed-by: cjplummer, sspitsyn
1 parent 092c227 commit ca0e014

File tree

165 files changed

+450
-585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+450
-585
lines changed

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddCapabilities/addcaps003/TestDescription.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
*
4848
* @library /vmTestbase
4949
* /test/lib
50-
* @build ExecDriver
51-
* nsk.jvmti.AddCapabilities.addcaps003
52-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
50+
* @run main/othervm/native
5351
* -XX:+UnlockDiagnosticVMOptions
5452
* -XX:+PrintInterpreter
5553
* -XX:+IgnoreUnrecognizedVMOptions

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch001/TestDescription.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
* @run driver nsk.share.ExtraClassesBuilder
6363
* newclass
6464
*
65-
* @build ExecDriver
66-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
67-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=onload segment1=./bin/newclass"
65+
* @comment ExecDriver is used b/c main class isn't on source/class path
66+
* @run main/othervm/native ExecDriver --java
67+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=onload,segment1=./bin/newclass
6868
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch001
6969
*/
7070

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch002/TestDescription.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@
8888
* @run driver nsk.share.ExtraClassesBuilder
8989
* newclass
9090
*
91-
* @build ExecDriver
92-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
91+
* @comment ExecDriver is used b/c main class isn't on source/class path
92+
* @run main/othervm/native ExecDriver --java
9393
* -Xbootclasspath/a:./bin/loadclass
94-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=onload segment1=./bin/newclass"
94+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=onload,segment1=./bin/newclass
9595
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch002
9696
*/
9797

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch003/TestDescription.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
* @run driver nsk.share.ExtraClassesBuilder
7474
* newclass
7575
*
76-
* @build ExecDriver
77-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
76+
* @comment ExecDriver is used b/c main class isn't on source/class path
77+
* @run main/othervm/native ExecDriver --java
7878
* -Xbootclasspath/a:./bin/loadclass
79-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=onload segment1=./bin/newclass"
79+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=onload,segment1=./bin/newclass
8080
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch003
8181
*/
8282

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch004/TestDescription.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
* @run driver nsk.share.ExtraClassesBuilder
7070
* newclass02 newclass01
7171
*
72-
* @build ExecDriver
73-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
74-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=onload segment1=./bin/newclass01 segment2=./bin/newclass02"
72+
* @comment ExecDriver is used b/c main class isn't on source/class path
73+
* @run main/othervm/native ExecDriver --java
74+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=onload,segment1=./bin/newclass01,segment2=./bin/newclass02
7575
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch004
7676
*/
7777

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch007/TestDescription.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,16 @@
7777
* ../bootclssearch003/newclass
7878
*
7979
* @comment create bootclssearch003.jar in current directory
80-
* @build ExecDriver
81-
* @run driver PropertyResolvingWrapper ExecDriver --cmd
80+
* @run driver ExecDriver --cmd
8281
* ${compile.jdk}/bin/jar
8382
* -cf bootclssearch003.jar
8483
* -C ./bin/newclass/
8584
* nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch003.class
8685
*
87-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
86+
* @comment ExecDriver is used b/c main class isn't on source/class path
87+
* @run main/othervm/native ExecDriver --java
8888
* -Xbootclasspath/a:./bin/loadclass
89-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=live segment1=./bootclssearch003.jar"
89+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=live,segment1=./bootclssearch003.jar
9090
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch003
9191
*/
9292

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch008/TestDescription.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,22 @@
7777
* ../bootclssearch004/newclass02
7878
*
7979
* @comment create bootclssearch004.jar in ./bin/newclass01/
80-
* @build ExecDriver
81-
* @run driver PropertyResolvingWrapper ExecDriver --cmd
80+
* @run driver ExecDriver --cmd
8281
* ${compile.jdk}/bin/jar
8382
* -cf ./bin/newclass01/bootclssearch004.jar
8483
* -C ./bin/newclass01/
8584
* nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch004.class
8685
*
8786
* @comment create bootclssearch004.jar in ./bin/newclass02/
88-
* @build ExecDriver
89-
* @run driver PropertyResolvingWrapper ExecDriver --cmd
87+
* @run driver ExecDriver --cmd
9088
* ${compile.jdk}/bin/jar
9189
* -cf ./bin/newclass02/bootclssearch004.jar
9290
* -C ./bin/newclass02/
9391
* nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch004.class
9492
*
95-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
96-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=live segment1=./bin/newclass01/bootclssearch004.jar segment2=./bin/newclass02/bootclssearch004.jar"
93+
* @comment ExecDriver is used b/c main class isn't on source/class path
94+
* @run main/othervm/native ExecDriver --java
95+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=live,segment1=./bin/newclass01/bootclssearch004.jar,segment2=./bin/newclass02/bootclssearch004.jar
9796
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch004
9897
*/
9998

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch009/TestDescription.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@
6565
* ../bootclssearch001/newclass
6666
*
6767
* @comment create bootclssearch001.jar in current directory
68-
* @build ExecDriver
69-
* @run driver PropertyResolvingWrapper ExecDriver --cmd
68+
* @run driver ExecDriver --cmd
7069
* ${compile.jdk}/bin/jar
7170
* -cf bootclssearch001.jar
7271
* -C ./bin/newclass/
7372
* nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch001.class
7473
*
75-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
76-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=live segment1=./bootclssearch001.jar"
74+
* @comment ExecDriver is used b/c main class isn't on source/class path
75+
* @run main/othervm/native ExecDriver --java
76+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=live,segment1=./bootclssearch001.jar
7777
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch001
7878
*/
7979

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch010/TestDescription.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,16 @@
9393
* ../bootclssearch002/newclass
9494
*
9595
* @comment create bootclssearch002.jar in current directory
96-
* @build ExecDriver
97-
* @run driver PropertyResolvingWrapper ExecDriver --cmd
96+
* @run driver ExecDriver --cmd
9897
* ${compile.jdk}/bin/jar
9998
* -cf bootclssearch002.jar
10099
* -C ./bin/newclass/
101100
* nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch002.class
102101
*
103-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
102+
* @comment ExecDriver is used b/c main class isn't on source/class path
103+
* @run main/othervm/native ExecDriver --java
104104
* -Xbootclasspath/a:./bin/loadclass
105-
* "-agentlib:bootclssearch_agent=-waittime=5 phasetocheck=live segment1=./bootclssearch002.jar"
105+
* -agentlib:bootclssearch_agent=-waittime=5,phasetocheck=live,segment1=./bootclssearch002.jar
106106
* nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch002
107107
*/
108108

test/hotspot/jtreg/vmTestbase/nsk/jvmti/AddToSystemClassLoaderSearch/systemclssearch001/TestDescription.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
* @run driver nsk.share.ExtraClassesBuilder
6363
* newclass
6464
*
65-
* @build ExecDriver
66-
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java
65+
* @comment ExecDriver is used b/c main class isn't on source/class path
66+
* @run main/othervm/native ExecDriver --java
6767
* -cp ${test.class.path}${path.separator}./bin/newclass
68-
* "-agentlib:systemclssearch_agent=-waittime=5 phasetocheck=onload segment1=./bin/newclass"
68+
* -agentlib:systemclssearch_agent=-waittime=5,phasetocheck=onload,segment1=./bin/newclass
6969
* nsk.jvmti.AddToSystemClassLoaderSearch.systemclssearch001
7070
*/
7171

0 commit comments

Comments
 (0)