This is the mail archive of the java-prs@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]

libgcj/38: Static initializer in DecimalFormat eventually depends on itself



>Number:         38
>Category:       libgcj
>Synopsis:       Static initializer in DecimalFormat eventually depends on itself
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 18 20:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        current cvs tree (19990818)
>Organization:
>Environment:
any
>Description:
A static initializer in java.text.DecimalFormat (984) constructs a 
DecimalFormatSymbols, which calls Resourcebundle.getBundle, 
which uses a URLClassLoader, which uses a URLConnection, 
that contains a static initializer constructing 
SimpleDateFormat, which calls NumberFormat.getInstance(), 
which (guess what!) trys to construct a DecimalFormat. Oops.
>How-To-Repeat:
DecimalFormat df = new DecimalFormat ();
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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