test/java/lang/instrument/RedefineMethodWithAnnotations.sh

Print this page

        

@@ -65,11 +65,11 @@
 
 "${JAVAC}" ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \
     RedefineMethodWithAnnotationsTarget.java \
     RedefineMethodWithAnnotationsAnnotations.java
 
-"${JAVA}" ${TESTVMOPTS} -javaagent:RedefineMethodWithAnnotationsAgent.jar \
+"${JAVA}" ${TESTVMOPTS} ${TESTJAVAOPTS} -javaagent:RedefineMethodWithAnnotationsAgent.jar \
     -XX:+StressLdcRewrite -XX:+IgnoreUnrecognizedVMOptions \
     -cp "${TESTCLASSES}" RedefineMethodWithAnnotationsApp > output.log 2>&1
 cat output.log
 
 MESG="Exception|fatal"