RR(S) Re: 8007277: JDK-8002048 testcase fails to compile

Dmitry Samersoff dmitry.samersoff at oracle.com
Wed Feb 6 04:28:54 PST 2013


Hi Everyone,

Please review the fix:

http://cr.openjdk.java.net/~dsamersoff/8007277.JDP-TEST/webrev.01/jdk/

-Dmitry


On 2013-02-06 14:47, Alan Bateman wrote:
> 
> 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


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* Give Rabbit time, and he'll always get the answer


More information about the serviceability-dev mailing list