-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P1
-
Affects Version/s: 5.0u25
-
Component/s: tools
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.
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.
- relates to
-
JDK-6908806 JDK 1.5.0 Update 17 javac fails to compile java code using generics
-
- Closed
-
-
JDK-8012434 Regression : Cannot define variable name which is the same to inner class name in JDK5u25
-
- Closed
-
-
JDK-6233838 improving charset implementation maintainability and performance
-
- Closed
-