java/5088: Can't create a java.lang.Object from CNI

Tom Tromey tromey@redhat.com
Sat Dec 15 16:46:00 GMT 2001


The following reply was made to PR java/5088; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: bryce@waitaki.otago.ac.nz
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/5088: Can't create a java.lang.Object from CNI
Date: 15 Dec 2001 17:48:31 -0700

 >>>>> "Bryce" == bryce  <bryce@waitaki.otago.ac.nz> writes:
 
 Bryce> According to the C++ ABI spec:
 Bryce> <ctor-dtor-name> ::= C1	# complete object (in-charge) constructor
 Bryce> 		   ::= C2	# base object (not-in-charge) constructor
 
 gcc/java/mangle.c:mangle_method_decl() explicitly chooses `C2' here.
 However, based on my reading of the ABI spec, I think that this is
 incorrect, and that we should use `C1' everywhere.
 I'm testing a patch now.
 
 Tom



More information about the Gcc-prs mailing list