JDK-8165490 : [TESTBUG] sun/tools/jps/TestJpsJar.java still fails with ClassNotFoundException: jdk.testlibrary.ProcessTools
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2016-09-06
  • Updated: 2016-09-08
  • Resolved: 2016-09-06
Related Reports
Relates :  
Relates :  
Description
sun/tools/jps/TestJpsJar.java still fails with ClassNotFoundException: jdk.testlibrary.ProcessTools.
The problem is that other tests compiled test library classes with @build directive and created jar file doesn't contains test library classes.

Comments
The problem is in jar tool, see JDK-8165500 "jar not proceed second(and others) -C <dir> . arguments"
06-09-2016