JDK-6955829 : Compilation did not fail as expected for 5 JCK Compiler negative tests with JDK 5u25 b02
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0u25
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-05-26
  • Updated: 2014-07-17
  • Resolved: 2010-06-24
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.
Other
5.0u25 b03Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Five JCK Compiler tests failed with "Compilation did not fail as expected" message. These are the following situations when the compilation should to fail but didn't it:

1. Two methods with the same signature but different result type
2. Declaration of method values() in a top level enum type.
3. Declaration of method valueOf(String) in a top level enum type.
4. Declaration of method values() in a member enum type.
5. Declaration of method valueOf(String) in a member enum type.

Comments
EVALUATION see comments.
01-06-2010