From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10858 invoked by alias); 12 May 2002 01:17:50 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 10787 invoked by uid 61); 12 May 2002 01:17:48 -0000 Date: Sat, 11 May 2002 18:17:00 -0000 Message-ID: <20020512011748.10786.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, inacio@wayne.spinnakernet.com, java-prs@gcc.gnu.org, nobody@gcc.gnu.org, tromey@gcc.gnu.org From: tromey@gcc.gnu.org Reply-To: tromey@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, inacio@wayne.spinnakernet.com, java-prs@gcc.gnu.org, nobody@gcc.gnu.org, tromey@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libgcj/6554: Java cni bug finding class$ X-SW-Source: 2002-05/txt/msg00330.txt.bz2 List-Id: Synopsis: Java cni bug finding class$ Responsible-Changed-From-To: unassigned->tromey Responsible-Changed-By: tromey Responsible-Changed-When: Sat May 11 18:17:47 2002 Responsible-Changed-Why: I'm handling this. State-Changed-From-To: open->closed State-Changed-By: tromey State-Changed-When: Sat May 11 18:17:47 2002 State-Changed-Why: This isn't actually a bug. The problem here is that you can't allocate a Java array using `new'. You must use JvNewObjectArray. I realize this is an unfriendly restriction, especially seeing as how it isn't diagnosed by the compiler. This isn't directly documented, either :-(. I'll try to write a patch. There is another PR on this subject. I think that one mentions our desire to change this. So I am closing this one as a duplicate. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6554