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:30:30 -0000


------- Comment #5 from rafaels at redhat dot com  2006-03-15 14:30 -------
Regarding #6, I don't actually have a test case for this. It just looked
suspicous so I changed it just to make sure it wasn't the source of any of my
problems. I suspect you are correct that in practice this not likely to be an
issue, but the code looked suspicious to me for two reasons.

1. I wasn't sure string literals were automatically interned by all JVMs. If
this is in fact part of the langauge spec then this is a non issue.

2. The Level constructor is protected which means that anyone can pass a non
liternal value into the name slot via subclassing. I don't know if this is
intended. If not an alternative fix would be to make the Level constructor
private.


-- 


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





reply via email to

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