This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
dynamic_cast problem in JNI code - any suggestions welcome.
- From: Andrew Haley <aph at redhat dot com>
- To: Jan Hardenbergh <hardenbergh at rtviz dot com>
- Cc: "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>,"'tromey at redhat dot com'" <tromey at redhat dot com>
- Date: Fri, 8 Nov 2002 17:56:40 +0000 (GMT)
- Subject: dynamic_cast problem in JNI code - any suggestions welcome.
- References: <5DB40C9911DDD61190CF00D0B78867BE014134@claven.rtviz.com>
Jan Hardenbergh writes:
>
> We are running a Java app on Redhat 7.2 using gcc3 and we have some JNI
> code. We have added some dynamic_cast operator to improve the error
> checking, however, when running on Linux they crash.
>
>
> Any advice?
Before we go any further, try compiling with gcc 3.2.
If it's still broken in that release we can investigate further.
Andrew.