Broken Makefile

Bryce McKinlay bryce@albatross.co.nz
Wed Aug 18 20:12:00 GMT 1999


Bryce McKinlay wrote:

> Further investigation: this seems to be caused by the static initializer for
> "nonLocalizedSymbols" at java/text/DecimalFormat.java::984 having not been run.
> I'll see if I can come up with an isolated test case.

Upon closer inspection, the initializer is getting run just fine. The problem is
that the static initializer inside DecimalFormat constructs a DecimalFormatSymbols,
which calls Resourcebundle.getBundle, which uses a URLClassLoader, which uses a
URLConnection, which contains a static initializer constructing SimpleDateFormat,
which calls NumberFormat.getInstance(), which (guess what!) trys to construct a
DecimalFormat. Oops.

regards

  [ bryce ]




More information about the Java-patches mailing list