This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/46: Static inializers compiled incorrectly
- To: java-gnats AT sourceware.cygnus dot com
- Subject: gcj/46: Static inializers compiled incorrectly
- From: gcb AT gnu dot org
- Date: 16 Sep 1999 06:07:09 -0000
- Reply-To: gcb AT gnu dot org
- Resent-Cc: java-prs AT sourceware.cygnus dot com, green AT cygnus dot com,
- Resent-Reply-To: gnats-admin@sourceware.cygnus.com, gcb@gnu.org
- Resent-To: apbianco AT cygnus dot com
>Number: 46
>Category: gcj
>Synopsis: Static inializers compiled incorrectly
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 15 23:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Geoff Berry
>Release: egcs_latest_snapshot 1999-09-16
>Organization:
>Environment:
Linux 2.2.10
glibc 2.0.7
>Description:
Static initializers are not compiled correctly with gcj -C
(and I suspect the same is true for native compilation).
A <clinit> method is produced, but it simply returns.
>How-To-Repeat:
Compile the following class with gcj -C:
class test {
static {
System.out.println ("Running static initializer.");
}
}
Run jcf-dump -c on the resulting class file.
>Fix:
Not today.
>Release-Note:
>Audit-Trail:
>Unformatted: