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: libgcj has some j2ee classes but not all


On Thursday, Aug 7, 2003, at 15:42 Pacific/Auckland, Ryan Boder wrote:

Seems more likely the problem lie in having two versions of the same
library and telling gcj which one to use is more difficult than with
say using CLASSPATH env and a traditional byte code interpreting JVM.

When you say more difficult, are you implying that it's possible? That would
definitely solve the problem. If I could tell gjc to use all the classes I
give as input files instead of the ones in libgcj without causing that
runtime error, I'd be set.

It currently isn't possible to have two instances of a class with the same name, so you'll have to remove the offending classes from either your application or from libgcj. This is due to the way GCJ's ABI works. Work is underway on a new ABI that will support this, but it probably won't be ready for a while.


Bryce.


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