JDK-8039079 : Test tools/javac/processing/environment/round/TestElementsAnnotatedWith.java fails
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8u20,9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-04-02
  • Updated: 2014-07-29
  • Resolved: 2014-04-15
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 8 JDK 9
8u20Fixed 9 b10Fixed
Related Reports
Relates :  
Description
Testsuite: Regression/Langtools
Test name: tools/javac/processing/environment/round/TestElementsAnnotatedWith.java
JDK tested: JDK 8u20 b07, 8u20 b01
OS tested: Linux 32-bit, Windows 7 64-bit

Test fails since 8u20 b01 after fix to JDK-8030049.
It seems that the bug is in the test.

LOG:

----------System.err:(4/277)----------
Results: []
ErroneousAnnotations.java:8:2: compiler.err.cant.resolve: kindname.class, Undefined, , 
ErroneousAnnotations.java:10:6: compiler.err.cant.resolve.location: kindname.class, Undefined, , , (compiler.misc.location: kindname.class, ErroneousAnnotations, null)
2 errors
result: Failed. Output does not match reference file: ErroneousAnnotations.out, line 1


test result: Failed. Output does not match reference file: ErroneousAnnotations.out, line 1
Comments
Seems to be related to -othervm (works fine in -samevm mode). Will take a look.
04-04-2014

Fails also against JDk 9 b07
04-04-2014