This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgcj/6554: Java cni bug finding class$


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]