[Bug java/26192] New: ICE while compiling jar or class file (azureus)
aph at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 9 12:51:00 GMT 2006
public class poo
{
Object bar (boolean[] bb)
{
return bb.clone();
}
}
ecj generates:
1: invokevirtual <Method java.lang.Object.clone ()java.lang.Object>
BEA generates (with -source 1.5):
1: invokevirtual <Method [Z.clone ()java.lang.Object>
and with -source 1.4:
1: invokevirtual <Method java.lang.Object.clone ()java.lang.Object>
gcj can only cope with the Object.clone() form, not the boolean[].clone() form.
Fixing gcj to generate boolean[].clone() casues a fault in the runtime library.
--
Summary: ICE while compiling jar or class file (azureus)
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: aph at redhat dot com
ReportedBy: aph at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26192
More information about the Java-prs
mailing list