This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: New C++ ABI: patches.
- To: apbianco at cygnus dot com
- Subject: Re: New C++ ABI: patches.
- From: Tom Tromey <tromey at redhat dot com>
- Date: 07 Jan 2001 16:23:22 -0700
- Cc: java-discuss at sources dot redhat dot com, gcc-patches at gcc dot gnu dot org
- References: <200101071950.LAA24951@deliverance.cygnus.com>
- Reply-To: tromey at redhat dot com
>>>>> "Alex" == Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
Alex> This modification (I think) brings at least one regression, this
Alex> doesn't work anymore:
Alex> class dotclass {
Alex> static void foo (Object x) { System.out.println (x.toString()); }
Alex> public static void main (String[] arg) { foo(int.class); }
Alex> }
Alex> Can a runtime hacker look into this, as I'll be back online
Alex> Monday evening.
I haven't tried your patch yet. As a guess though I'd say that the
bug is that you didn't update NUM_OBJECT_METHODS in include/jvm.h.
Also you might need to update the get_finalizer() methods (there are
two) in that same file. (It is possible you won't have to if you
added the dummy methods to Object and not _JvObjectPrefix.) Yes, this
stuff is super ugly.
Tom