JDK-8004391 : Bug fix in jtreg causes test failures in pre jdk 8 langtools tests
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 7u13
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-12-04
  • Updated: 2013-07-18
  • Resolved: 2012-12-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u21Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
These JDK 7 tests fail when run with jtreg 4.1 b05 with the -samevm option
   tools/javac/processing/6348499/T6348499.java
   tools/javac/processing/6414633/T6414633.java
   tools/javac/processing/6430209/T6430209.java
   tools/javac/processing/T6920317.java

The error is:
   Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: java.lang.NoClassDefFoundError\: JavacTestingAbstractProcessor

The tests have been fixed in JDK 8 - see the related jbs entries shown below.

It seems likely that these fixes will have to be backported to 6, 6open.


Comments
Verified 7u40 b34 linux
18-07-2013

Fixed T6348499.java , T6414633.java & T6920317.java were pushed to 7u12 by 7192449 & 7192744. Also all the tests pass in jdk6 as they don't have @library and JavacTestingAbstractProcessor dependences there.
07-12-2012