Brendan Bates 11.Nov.07 09:11 PM a Web browser Device Runtime Environment All releases Windows XP
I think I may have found a bug, or at least an oversight, in the jclDesktop implementation of the java.util.Properties class.
Specifically, the getProperty method. It works differently than other implementations (most notably, Sun Java 1.4) in that it does not explicitly call "super.get" in order to retrieve a value from the parent Hashtable; rather it simply just calls "get". This is causing an issue with some of our legacy code that we are using within Expeditor, as a lot of our code uses subclasses of java.util.Properties, and overrides the Hashtable "get" method in order to synchronize it. Thus, when consuming code calls the getProperty method, it then goes into an infinite recursive loop: PropertiesSubclass.getProperty -> Properties.getProperty -> "get" -> PropertiesSubclass.get -> PropertiesSubclass.getProperty etc etc.
Any thoughts? Should this be registered as an official bug?