RFR(S): JDK-8159925 sun/tools/jps/TestJpsJar.java still fails after fix for JDK-8153278

Dmitry Samersoff dmitry.samersoff at oracle.com
Wed Jun 29 16:12:25 UTC 2016


Everybody,

Please review the fix:

  http://cr.openjdk.java.net/~dsamersoff/JDK-8159925/webrev.01/

The problem:

  If you run the test from symlinked location user.dir and the output of
jps -l may not match to the value returned by File.getAbsolutePath() for
the same jar file.

Solution:

  Skip the test if user.dir doesn't match File.getAbsolutePath()

-Dmitry


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the serviceability-dev mailing list