changeset 15671:6cd269394b2a

Merge
author acorn
date Wed, 13 Feb 2013 16:15:09 -0500
parents eca7bd7651cf 0923fe344df6
children d9ef57fce131 97dd2e8c7e5e
files
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh	Wed Feb 13 16:09:13 2013 -0500
+++ b/jdk/test/java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh	Wed Feb 13 16:15:09 2013 -0500
@@ -23,6 +23,7 @@
 
 # @test
 # @bug 7182152
+# @bug 8007935
 # @summary Redefine a subclass that implements two interfaces and
 #   verify that the right methods are called.
 # @author Daniel D. Daugherty
@@ -38,6 +39,12 @@
   exit 1
 fi
 
+if [ "${COMPILEJAVA}" = "" ]
+then
+  COMPILEJAVA="${TESTJAVA}"
+fi
+echo "COMPILEJAVA=${COMPILEJAVA}"
+
 if [ "${TESTSRC}" = "" ]
 then
   echo "TESTSRC not set.  Test cannot execute.  Failed."
@@ -50,7 +57,7 @@
   exit 1
 fi
 
-JAVAC="${TESTJAVA}"/bin/javac
+JAVAC="${COMPILEJAVA}"/bin/javac
 JAVA="${TESTJAVA}"/bin/java
 
 echo "INFO: building the replacement classes."
@@ -59,7 +66,8 @@
     RedefineSubclassWithTwoInterfacesTarget.java
 cp "${TESTSRC}"/RedefineSubclassWithTwoInterfacesImpl_1.java \
     RedefineSubclassWithTwoInterfacesImpl.java
-"${JAVAC}" -cp "${TESTCLASSES}" -d . \
+"${JAVAC}" ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \
+    -cp "${TESTCLASSES}" -d . \
     RedefineSubclassWithTwoInterfacesTarget.java \
     RedefineSubclassWithTwoInterfacesImpl.java 
 status="$?"