This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/26192] New: ICE while compiling jar or class file (azureus)
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2006 12:51:45 -0000
- Subject: [Bug java/26192] New: ICE while compiling jar or class file (azureus)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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