This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug java/12755] Binary Compatibility: Resolving static methods and classes is not thread safe


------- 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


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