8016369: java/lang/instrument/RetransformBigClass.sh failing again

Alan Bateman Alan.Bateman at oracle.com
Tue Jun 11 12:20:42 PDT 2013


This test was liberated recently [1] but unfortunately it's failing 
again. The typical failure now is:

Unrecognized option: -ea -J-esa -J-Xmx512m
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit. result:
Failed. Execution failed: exit code 1

The problem is that TESTTOOLVMOPTS is quoted when jtreg is run with 
several options then they appear as one. The fix is trivial:

-${JAR} "${TESTTOOLVMOPTS}" cvfm ${AGENT}.jar ${AGENT}.mf 
${AGENT}*.class ${OTHER}*.java
+${JAR} ${TESTTOOLVMOPTS} cvfm ${AGENT}.jar ${AGENT}.mf ${AGENT}*.class 
${OTHER}*.java

and that gets it passing again.

-Alan

[1] http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f18337edd201
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20130611/5504c521/attachment.html 


More information about the serviceability-dev mailing list