8007277: JDK-8002048 testcase fails to compile
Alan Bateman
Alan.Bateman at oracle.com
Wed Feb 6 02:47:37 PST 2013
Dmitry - I realize you might be looking at this already but
test/sun/management/jdp/JdpTest.sh is failing on all platforms since it
was pushed. We can either put it on the exclude list (ProblemList.txt)
or fix it. Since it is trivial to fix then I'd like to do that -
attached is the proposed patch.
-Alan.
diff --git a/test/sun/management/jdp/JdpTest.sh
b/test/sun/management/jdp/JdpTest.sh
--- a/test/sun/management/jdp/JdpTest.sh
+++ b/test/sun/management/jdp/JdpTest.sh
@@ -23,7 +23,7 @@
# @test
# @bug 7169888
-# @build JdpUnitTest JdpClient JdpDoSomething
+# @compile -XDignore.symbol.file JdpUnitTest.java JdpClient.java
JdpDoSomething.java
# @run shell JdpTest.sh --jtreg --no-compile
# @summary No word Failed expected in the test output
@@ -55,7 +55,7 @@
rm -f ${_testclasses}/*.class
# Compile testcase
- ${TESTJAVA}/bin/javac -d ${_testclasses} JdpUnitTest.java \
+ ${COMPILEJAVA}/bin/javac -XDignore.symbol.file -d ${_testclasses}
JdpUnitTest.java \
JdpDoSomething.java \
JdpClient.java
More information about the serviceability-dev
mailing list