[Bug java/15411] New: gcjh not aware of "miranda" methods

mckinlay at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu May 13 01:42:00 GMT 2004


"Miranda methods" occur when an abstract class inherits a declaration from an
interface but does not redeclare or define that method.

When this occurs, gcj emits a vtable entry into the abstract class so that
virtual calls to the method, made on the abstract class, can work correctly.

gcjh is not aware of this, however, and the .h file it generates is inconsistent
with the vtable emitted by gcj.

-- 
           Summary: gcjh not aware of "miranda" methods
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckinlay 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=15411



More information about the Java-prs mailing list