This is the mail archive of the java-prs@gcc.gnu.org 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]
Other format: [Raw text]

[Bug java/15475] New: gcj bytecode miscompilation in System.java


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


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