Patch: PR libgcj/32
Bryce McKinlay
bryce@albatross.co.nz
Thu Feb 24 21:33:00 GMT 2000
This is a new fix for an old bug. The problem is that certain classes in
java.text need to load resources via the URL class loading mechanism.
This mechanism itself uses those java.text classes, and in some cases we
get an ExceptionInInitializerError due to intializer co-dependency. This
patch removes the DateFormat initializers from URLConnection (and
lazy-initializing them instead), which is a simpler and hopefully more
robust fix than hacking the java.text classes themselves.
[ bryce ]
2000-02-25 Bryce McKinlay <bryce@albatross.co.nz>
* java/net/URLConnection.java (initializeDateFormats): New
private
method.
(getHeaderFieldDate): Call initializeDateFormats if required.
locale, dateFormat1, dateFormat2, dateFormat3: Don't initialize
these.
Fix for PR libgcj/32.
More information about the Java-patches
mailing list