[Bug java/13091] New: invalide bytecode with package-private class

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 17 22:14:00 GMT 2003


See http://gcc.gnu.org/ml/java/2003-11/msg00157.html

gcj generates invalid bytecode for this test.
gcj's output references B.m(), not C.m().

I believe for binary compatibility we ought to reference
C.m() anyway, since adding a hiding C.m() method still
preserves binary compatibility.

-- 
           Summary: invalide bytecode with package-private class
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13091



More information about the Gcc-bugs mailing list