public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/11336] New: ICE:  bytecode-to-native compiler cannot find interface methods on abstract implementing classes
@ 2003-06-26 19:34 tv at pobox dot com
  2003-06-26 19:36 ` [Bug java/11336] " tv at pobox dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tv at pobox dot com @ 2003-06-26 19:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE:  bytecode-to-native compiler cannot find interface
                    methods on abstract implementing classes
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tv at pobox dot com
                CC: gcc-bugs at gcc dot gnu dot org

===== I.java =====
public interface I { void foo(); }

===== A.java =====
public abstract class A implements I {}

===== C.java =====
class C { void foo(A a) { a.foo(); } }

===== commands =====
$ gcj -C *.java
$ gcj -c C.java && echo "it worked"
it worked
$ gcj -c C.class
C.java: In class `C':
C.java: In method `C.foo(A)':
C.java:1: error: class 'A' has no method named 'foo' matching signature '()V'
C.java: In constructor `()':
C.java:0: internal compiler error: tree check: accessed elt 0 of tree_vec with 2 
elts in find_local_variable, at java/decl.c:200

===== comments =====
Happens on gcj 3.3, with the difference of the C.java:0: error line:

C.java:0: confused by earlier errors, bailing out

This prevents compilation of the binary Cryptix JCE and Sun JSSE .jar files 
because they can't find java.security.cert.X509Certificate.
getCriticalExtensionOIDs() (which is actually defined in java.security.cert.
X509Extension, implemented by X509Certificate).

Note that compiling from Java source does work (gcj -c C.java, above), but JSSE 
is not available in source form.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-08-20 21:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
2003-06-26 19:36 ` [Bug java/11336] " tv at pobox dot com
2003-06-26 20:06 ` pinskia at physics dot uc dot edu
2003-07-29 22:06 ` pinskia at physics dot uc dot edu
2003-08-06 21:14 ` ingo at ingostruck dot de
2003-08-19  3:34 ` pinskia at gcc dot gnu dot org
2003-08-19 14:52 ` tromey at gcc dot gnu dot org
2003-08-20 21:39 ` tv at pobox dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).