Code Review Request for 6578042

Darryl Mocek darryl.mocek at
Tue Nov 1 17:51:55 UTC 2011

Hello.  Please review this patch to fix Bug #6578042 
(System.clearProperty() throws ClassCastException if property value 
isn't a String).  The issue is that through the Hashtable methods, it's 
possible to add a Property which isn't a String and set it through 
System.setProperties.  clearProperty cast the returned removed object as 
a String, even if it wasn't a String.  Test case provided.



More information about the core-libs-dev mailing list