RFR(S): JDK-8165500: TestJpsJar shouldn't jar all test.classpath directories

Dmitry Samersoff dmitry.samersoff at oracle.com
Thu Sep 15 12:18:25 UTC 2016


Everybody,

Please, review the small fix.

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

The problem:

TestJpsJar attempts to copy all directories found in test.class.path
into a single jar file.

It's not necessary and could lead to intermittent ClassNotFound exceptions.

Solution:

Jar only a directory with required files.

-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