public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/26192]  New: ICE while compiling jar or class file (azureus)
@ 2006-02-09 12:51 aph at gcc dot gnu dot org
  2006-02-09 12:53 ` [Bug java/26192] " aph at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-02-09 12:51 UTC (permalink / raw)
  To: java-prs

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


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

end of thread, other threads:[~2006-02-13 22:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09 12:51 [Bug java/26192] New: ICE while compiling jar or class file (azureus) aph at gcc dot gnu dot org
2006-02-09 12:53 ` [Bug java/26192] " aph at gcc dot gnu dot org
2006-02-09 14:03 ` aph at gcc dot gnu dot org
2006-02-09 14:05 ` aph at gcc dot gnu dot org
2006-02-10 19:47 ` tromey at gcc dot gnu dot org
2006-02-13 22:25 ` tromey at gcc dot gnu dot org

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).