[Bug java/12755] Binary Compatibility: Resolving static methods and classes is not thread safe
aph at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu May 6 15:52:00 GMT 2004
------- Additional Comments From aph at gcc dot gnu dot org 2004-05-06 15:52 -------
We need to study the Java Language Spec, look at the order in which things are
supposed to be done, and do that.
I think the initialization of the otable and otable needs to be done at the same
time as constant pool resolution. We need to reorganize libgcj to do that.
Also, there is a kludge on the gcj-abi-2-dev-branch where we handle the
condition where we load an intepreted class but it hasn't been resolved.
_Jv_Defer_Resolution() in java_interp.h does the work. It would be excellent to
fix things so that this evil is no longer necessary.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12755
More information about the Gcc-bugs
mailing list