RFR(S): JDK-8153278 sun/tools/jps/TestJpsJar.java fails in hs nightly

David Holmes david.holmes at oracle.com
Wed Apr 20 02:37:23 UTC 2016


Hi Dmitry,

On 19/04/2016 11:06 PM, Dmitry Samersoff wrote:
> Everybody,
>
> Please review the changes.
>
> http://cr.openjdk.java.net/~dsamersoff/JDK-8153278/webrev.01/
>
> The test (a) get it's own name then (b) launch JPS and check that it's
> name is present in the output.
>
> If for some reason the directory from where the test is run changes it
> name between (a) and (b) test fails.
>
> So test changed to get it's name right before the check of jps output.

Changes seem fine, but I am curious how the directory can be changed 
between (a) and (b) ??

Thanks,
David

> -Dmitry
>


More information about the serviceability-dev mailing list