JDK-6480566 : TEST_BUG: several tests fail because TESTVMOPTS are passed to javac directly
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 6,7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_2000
  • CPU: generic,x86
  • Submitted: 2006-10-11
  • Updated: 2012-02-02
  • Resolved: 2011-04-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7
5.0u12Fixed 6u1Fixed 7 b03Fixed
Related Reports
Duplicate :  
Relates :  
Description
Switch to jtreg 3.2.2 uncovered this problem. See comments for email containing details.
See 
http://gtee.sfbay/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2006-10-09/new_regressions.html
(sun/mananagement/* failures).
Here is the partial list of tests (but there are more, so all tests should be checked for this):
	sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh
	sun/management/jmxremote/bootstrap/RmiRegistrySslTest.sh
	sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
	sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.sh
	sun/management/snmp/bootstrap/SnmpBootstrapTest.sh
	sun/management/snmp/bootstrap/SnmpExceptionBootstrapTest.sh
	sun/management/snmp/bootstrap/SnmpNotifBootstrapTest.sh
	sun/management/snmp/generic/GenericTest.sh
	sun/management/snmp/jvmClassLoading/ClassLoadingTest.sh
	sun/management/snmp/jvmClassLoading/ClassVerboseTest.sh
	sun/management/snmp/jvmMemory/JvmMemGCTest.sh
	sun/management/snmp/jvmMemory/JvmMemMgrTest.sh
	sun/management/snmp/jvmMemory/JvmMemPoolTest.sh
	sun/management/snmp/snmpCounter64/SnmpCounter64Test.sh

Comments
SUGGESTED FIX ------- test/sun/management/snmp/RunTest.sh ------- 30c30 < JAVAC_OPTIONS="${TESTVMOPTS} -classpath ${CLASSPATH}" --- > JAVAC_OPTIONS="-classpath ${CLASSPATH}" 80c80 < ${TESTJAVA}/bin/javac ${TESTVMOPTS} -classpath ${CLASSPATH} \ --- > ${TESTJAVA}/bin/javac -classpath ${CLASSPATH} \
18-10-2006

EVALUATION Fix tests not to pass TESTVMOPTS to javac.
11-10-2006