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: .db -vs- resources


Tom Tromey writes:
 > Something that came up on irc the other day is that if you're using
 > the .db to find .sos, then a resource in the .so will actually never
 > be used; instead the resource from the original .jar (or whatever)
 > will be used.

Yeah, this is deliberate.  Clearly we have a choice here, and to do
otherwise would require the checksum of the resource to be stored in
the .db file.  We'd only generate the checksum and then look up the
same thing in a shared object!

 > In this case, compiling a resource file in a .jar into the
 > resulting .so is just bloat.  It would be nice to have a gcj flag
 > controlling this behavior.

Yes.

Andrew.


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