United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8004391 Bug fix in jtreg causes test failures in pre jdk 8 langtools tests
JDK-8004391 : Bug fix in jtreg causes test failures in pre jdk 8 langtools tests

Details
Type:
Bug
Submit Date:
2012-12-04
Status:
Closed
Updated Date:
2013-07-18
Project Name:
JDK
Resolved Date:
2012-12-08
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u13
Fixed Versions:
7u40 (b06)

Related Reports
Backport:
Backport:
Duplicate:
Relates:
Relates:

Sub Tasks

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
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.
                                     
2012-12-07
URL:   http://hg.openjdk.java.net/jdk7u/jdk7u-dev/langtools/rev/9dd61e4ac0db
User:  dmeetry
Date:  2012-12-08 11:05:50 +0000

                                     
2012-12-08
URL:   http://hg.openjdk.java.net/jdk7u/jdk7u/langtools/rev/9dd61e4ac0db
User:  lana
Date:  2012-12-17 23:30:41 +0000

                                     
2012-12-17
Verified 7u40 b34 linux
                                     
2013-07-18



Hardware and Software, Engineered to Work Together