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.
The enum spec requires
java.lang.Enum.compareTo(E)
to be a final method, but it is not currently implemented as final.
Comments
CONVERTED DATA
BugTraq+ Release Management Values
COMMIT TO FIX:
tiger-beta2
FIXED IN:
tiger-beta2
INTEGRATED IN:
tiger-b46
tiger-beta2
14-06-2004
PUBLIC COMMENTS
...
10-06-2004
SUGGESTED FIX
src/share/classes/java/lang>sccs sccsdiff -r1.9 -r1.10 Enum.java
------- Enum.java -------
107c107
< final public boolean equals(Object other) {
---
> public final boolean equals(Object other) {
116c116
< final public int hashCode() {
---
> public final int hashCode() {
127c127
< final protected Object clone() throws CloneNotSupportedException {
---
> protected final Object clone() throws CloneNotSupportedException {
140c140
< public int compareTo(E o) {
---
> public final int compareTo(E o) {
###@###.### 2004-03-29