libgcj/8823: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods)

mark@klomp.org mark@klomp.org
Thu Dec 5 09:36:00 GMT 2002


>Number:         8823
>Category:       libgcj
>Synopsis:       gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 05 09:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     mark@klomp.org
>Release:        gij (GNU libgcj) version 3.3 20021205 (experimental)
>Organization:
>Environment:

>Description:
_Jv_ResolvePoolEntry doesn't lookup methods in (abstract) superclasses that (didn't) implement an Interface method.

The following code shows the problem:

When compiled with "gcj -C *.java" and run with "gij C" it throws:

Exception in thread "main" java.lang.NoSuchMethodError: method A.m was not found.
   at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/local/gcc33/lib/libgcj.so.3.0.0)
   at C.main(java.lang.String[]) (Unknown Source)

More background information (look for Miranda) can be found at the IK.VM.NET weblog of Jeroen Frijters:

http://radio.weblogs.com/0109845/2002/11/22.html#a65
http://radio.weblogs.com/0109845/2002/11/25.html#a67
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list