This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: BUG REPORT. Loading native-libs dynamically end up with cast-error...


References: <200211260637.gAQ6bmX16478@mailgate5.cinetic.de>
From:  Tom Tromey <tromey@redhat.com>
Reply-To:  tromey@redhat.com
BCC:  Tom Tromey <tromey@redhat.com>
X-Attribution:  Tom
X-Zippy:  An Italian is COMBING his hair in suburban DES MOINES!
Date: 25 Nov 2002 23:59:08 -0700
In-Reply-To: <200211260637.gAQ6bmX16478@mailgate5.cinetic.de>
Message-ID: <87el98zuir.fsf@fleche.redhat.com>
Lines: 24
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

>>>>> ">" == Clemens Eisserer <Linuxhippy@web.de> writes:

>> You can easly see the error: All you need is a libgcj-3.2 and the files
>> IŽve attached. run first tes, and youŽll get the cast-error, after that
>> remove or rename lib-bte.so, so that libgcj is forced to interpret the
>> class-file and it will work.

I didn't see an attachment.

>> So if you want to inspect my code, simply untar the archive.
>> e.g. This is only a concept-progam. I realized that "bug" in  a much bigger
>> app, which would be hard to understand for not involved people. So I
>> wrote this small program...

That's perfect, thanks.

>> IŽve tried to get along with gdb, but IŽve never used this tool and
>> it seems quite complicated to me *newbie*...

There are a couple GUIs for gdb that are worth investigating.  They
can be pretty helpful.  Unfortunately, though, the Java support in gdb
is not in the best state.  You'll experience difficulties.

Tom


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