gcj/158: "-C" generates incompatible bytecode for interface intitializer
bryce@albatross.co.nz
bryce@albatross.co.nz
Wed Mar 1 22:00:00 GMT 2000
>Number: 158
>Category: gcj
>Synopsis: "-C" generates incompatible bytecode for interface intitializer
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 01 22:00:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Bryce McKinlay
>Release: gcc version 2.96 20000221 (experimental)
>Organization:
>Environment:
Redhat 6.1
java full version "1.2.2-I"
>Description:
Bytecode generated for interface initializers fails to
verify on the JDK 1.2.2 virtual machine:
$ java InterfaceInit
Exception in thread "main" java.lang.VerifyError: (class: I, method: <init> signature: ()V) Call to wrong initialization method
>How-To-Repeat:
Compile the attached test case with "-C" and run it on a JDK 1.2 VM
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="InterfaceInit.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="InterfaceInit.java"
aW50ZXJmYWNlIEkKewogIFN0cmluZyBmb28gPSAiYmFyIjsKfQoKcHVibGljIGNsYXNzIEludGVy
ZmFjZUluaXQgaW1wbGVtZW50cyBJCnsKICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmcg
YXJnc1tdKQogIHsKICAgIFN5c3RlbS5vdXQucHJpbnRsbihmb28pOwogIH0KfQo=
More information about the Java-prs
mailing list