This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/4439: extern "Java" support: Can't create array of primitive Java type with 'new'
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/4439: extern "Java" support: Can't create array of primitive Java type with 'new'
- From: ashley at semantic dot org
- Date: 2 Oct 2001 06:10:26 -0000
- Reply-To: ashley at semantic dot org
>Number: 4439
>Category: c++
>Synopsis: extern "Java" support: Can't create array of primitive Java type with 'new'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Oct 01 23:16:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Ashley Yakeley
>Release: 3.0.1-0pre0108
>Organization:
>Environment:
$ uname -a
Linux server 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686 unknown
>Description:
Try this:
#include <gcj/javaprims.h>
static void foo ()
{
new jboolean[1];
}
Compile with this:
gcc-3.0 gccbug.cpp
Results:
gccbug.cpp: In function `void foo()':
gccbug.cpp:5: Can't find class$
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
>Fix:
no idea
>Release-Note:
>Audit-Trail:
>Unformatted: