This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/15475] New: gcj bytecode miscompilation in System.java
- From: "green at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 16 May 2004 13:01:29 -0000
- Subject: [Bug java/15475] New: gcj bytecode miscompilation in System.java
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
System.java contains this:
public static void runFinalizersOnExit(boolean finalizeOnExit)
{
Runtime.getRuntime().runFinalizersOnExit(finalizeOnExit);
}
But gcj -C is only producing this:
Method name:"runFinalizersOnExit" public static Signature: 158=(boolean)void
Attribute "Code", length:47, max_stack:0, max_locals:1, code_length:5
0: invokestatic #146=<Method java.lang.Runtime.getRuntime ()java.lang.Runtime>
3: pop
4: return
Attribute "LineNumberTable", length:6, count: 1
line: 528 at pc: 0
Attribute "LocalVariableTable", length:12, count: 1
slot#0: name: 159=finalizeOnExit, type: 160=boolean (pc: 0 length: 5)
Attribute "Deprecated", length:0
--
Summary: gcj bytecode miscompilation in System.java
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15475