JDK-8163231 : A couple of runtime tests failing for the -testset hotspot snapshot job
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-04
  • Updated: 2016-08-11
  • Resolved: 2016-08-04
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 9
9 b131Fixed
Related Reports
Relates :  
Relates :  
Description
These 2 tests are failing for the hs snapshot job:

FAILED: runtime/8007320/ConstMethodTest.java
@Named(value="aName") not equal to @Named(value=aName)

FAILED: runtime/RedefineTests/RedefineAnnotations.java:
java.lang.RuntimeException: Expected "@TestAnn(site=classTypeParameter)", got "@TestAnn(site="classTypeParameter")"

Comments
The fix for JDK-8162817 improved the toString output of annotation objects. Tests relying on the old toString output (also see JDK-8163113) need to be updated.
04-08-2016