This is the mail archive of the 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]

GCJ not using java.lang.Exception in libgcj.jar??

Hash: SHA1


I am trying to "port" JavaCore ( ) from JDK
1.1.8 to GCJ.  While everything compiles correctly the installation of JavaCore
is "tricky" and I wanted to post here to get more information.

If you look at the UML on the website you can see visually how JavaCore installs
into the JVM.  Basically it replace java.lang.Exception with its own version.  I
know for certain that the java.lang.Exception which I currently have in
libgcj.jar has been modified correctly.  The problem is that even with a
System.out.println within the constructor of Exception I don't get any output.
Basically this means that java.lang.Exception is not getting instantiated as
bytecode but instead is native... correct?  I could only find on .jar file
within my gcc install and there were no other .class files

Here is the exception 

   at 0x4019943a: java::lang::Throwable::Throwable() (/home/burton/gcc/lib/
   at 0x4018daed: java::lang::Exception::Exception() (/home/burton/gcc/lib/


Could this be the problem?  java.lang.Exception under GCJ is native and
contained in  If so this is strange... I can't see any advantage to
doing this and I think it might be a Bad Thing.  There might be a speed

If so this might be a problem.. I will really have to dig in an find out how do
do this...


- -- 
Kevin A. Burton (,, )
        Cell: 408-910-6145 URL: ICQ: 73488596 

It is better to die on your feet than to live on your knees!
  - Emiliano Zapata

Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at:


Rule Psix Panama Ft. Meade counter-intelligence NSA nuclear Qaddafi kibo smuggle
assassination Treasury Semtex munitions Legion of Doom SDI

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