提交 695bfe89 编写于 作者: A acorn

Merge

...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
# @test # @test
# @bug 7182152 # @bug 7182152
# @bug 8007935
# @summary Redefine a subclass that implements two interfaces and # @summary Redefine a subclass that implements two interfaces and
# verify that the right methods are called. # verify that the right methods are called.
# @author Daniel D. Daugherty # @author Daniel D. Daugherty
...@@ -38,6 +39,12 @@ then ...@@ -38,6 +39,12 @@ then
exit 1 exit 1
fi fi
if [ "${COMPILEJAVA}" = "" ]
then
COMPILEJAVA="${TESTJAVA}"
fi
echo "COMPILEJAVA=${COMPILEJAVA}"
if [ "${TESTSRC}" = "" ] if [ "${TESTSRC}" = "" ]
then then
echo "TESTSRC not set. Test cannot execute. Failed." echo "TESTSRC not set. Test cannot execute. Failed."
...@@ -50,7 +57,7 @@ then ...@@ -50,7 +57,7 @@ then
exit 1 exit 1
fi fi
JAVAC="${TESTJAVA}"/bin/javac JAVAC="${COMPILEJAVA}"/bin/javac
JAVA="${TESTJAVA}"/bin/java JAVA="${TESTJAVA}"/bin/java
echo "INFO: building the replacement classes." echo "INFO: building the replacement classes."
...@@ -59,7 +66,8 @@ cp "${TESTSRC}"/RedefineSubclassWithTwoInterfacesTarget_1.java \ ...@@ -59,7 +66,8 @@ cp "${TESTSRC}"/RedefineSubclassWithTwoInterfacesTarget_1.java \
RedefineSubclassWithTwoInterfacesTarget.java RedefineSubclassWithTwoInterfacesTarget.java
cp "${TESTSRC}"/RedefineSubclassWithTwoInterfacesImpl_1.java \ cp "${TESTSRC}"/RedefineSubclassWithTwoInterfacesImpl_1.java \
RedefineSubclassWithTwoInterfacesImpl.java RedefineSubclassWithTwoInterfacesImpl.java
"${JAVAC}" -cp "${TESTCLASSES}" -d . \ "${JAVAC}" ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \
-cp "${TESTCLASSES}" -d . \
RedefineSubclassWithTwoInterfacesTarget.java \ RedefineSubclassWithTwoInterfacesTarget.java \
RedefineSubclassWithTwoInterfacesImpl.java RedefineSubclassWithTwoInterfacesImpl.java
status="$?" status="$?"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册