-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
x86
-
windows_2000
Name: rmT116609 Date: 01/08/2003
DESCRIPTION OF THE PROBLEM :
There is every reason to believe that Level is Comparable, aside from it actually implementing Comparable.
"The logging Level objects are ordered and are specified by ordered integers. Enabling logging at a given level also enables logging at all higher levels."
"The levels in descending order are:"
http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Level.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected: java.util.logging.Level to implement Comparable.
Actually: It doesn't.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER WORKAROUND :
Directly compare intValue() or create a ComparableLevel class.
(Review ID: 179225)
======================================================================
- duplicates
-
JDK-6405743 java.util.logging.Level needs to implement Comparable<Level>
-
- Open
-