This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
GCJ not using java.lang.Exception in libgcj.jar??
- To: java-discuss at sources dot redhat dot com
- Subject: GCJ not using java.lang.Exception in libgcj.jar??
- From: burton at relativity dot yi dot org (Kevin A. Burton)
- Date: 27 Jan 2001 09:18:08 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OK.
I am trying to "port" JavaCore ( http://javacore.sourceforge.net ) 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
java.lang.IllegalArgumentException
at 0x4019943a: java::lang::Throwable::Throwable() (/home/burton/gcc/lib/libgcj.so.1)
at 0x4018daed: java::lang::Exception::Exception() (/home/burton/gcc/lib/libgcj.so.1)
^^^^^^^^^^^^^^^^^^^^^
Could this be the problem? java.lang.Exception under GCJ is native and
contained in libgcj.so? 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
advantage!?
If so this might be a problem.. I will really have to dig in an find out how do
do this...
Kevin
- --
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burtonator@acm.org )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596
It is better to die on your feet than to live on your knees!
- Emiliano Zapata
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE6cwLPAwM6xb2dfE0RAly9AJoDvZYMqCtNwn4vfCo2/x/U0kB/iACffDFp
hmPvVGNWDft7EtQvd7VG6Ok=
=X8lD
-----END PGP SIGNATURE-----
Rule Psix Panama Ft. Meade counter-intelligence NSA nuclear Qaddafi kibo smuggle
assassination Treasury Semtex munitions Legion of Doom SDI