test/java/lang/instrument/RedefineMethodWithAnnotations.sh
Print this page
*** 65,75 ****
"${JAVAC}" ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \
RedefineMethodWithAnnotationsTarget.java \
RedefineMethodWithAnnotationsAnnotations.java
! "${JAVA}" ${TESTVMOPTS} -javaagent:RedefineMethodWithAnnotationsAgent.jar \
-XX:+StressLdcRewrite -XX:+IgnoreUnrecognizedVMOptions \
-cp "${TESTCLASSES}" RedefineMethodWithAnnotationsApp > output.log 2>&1
cat output.log
MESG="Exception|fatal"
--- 65,75 ----
"${JAVAC}" ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \
RedefineMethodWithAnnotationsTarget.java \
RedefineMethodWithAnnotationsAnnotations.java
! "${JAVA}" ${TESTVMOPTS} ${TESTJAVAOPTS} -javaagent:RedefineMethodWithAnnotationsAgent.jar \
-XX:+StressLdcRewrite -XX:+IgnoreUnrecognizedVMOptions \
-cp "${TESTCLASSES}" RedefineMethodWithAnnotationsApp > output.log 2>&1
cat output.log
MESG="Exception|fatal"