bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/26668] java.util.logging bugs


From: rafaels at redhat dot com
Subject: [Bug classpath/26668] java.util.logging bugs
Date: 15 Mar 2006 14:58:05 -0000


------- Comment #7 from rafaels at redhat dot com  2006-03-15 14:58 -------
Regarding the warnings, I agree they should all go through the warn() method. I
had intended that, but it looks like I missed a couple of them.

As for turning them off, I'm not sure you would ever want to do that. IMHO,
it's a pretty serious condition if the logging system is going to be borked
since it will be quite difficult to figure out what has gone wrong. I would
even favor making a number of them fatal errors rather than warnings. I believe
the sun implementation leans in that direction, for example the sun
implementation will just die with a ClassCastException if
java.util.logging.manager does not extend LogManager.

I'm currently working on a test case that enumerates the various failure
conditions and will let me compare the logging system behavior with other
implementations. I will post this along with an updated patch when I'm done.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26668





reply via email to

[Prev in Thread] Current Thread [Next in Thread]