This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Broken Makefile


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 ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]