Binary compatibility and finding compiled classes

David Daney ddaney@avtrex.com
Sat Oct 9 00:08:00 GMT 2004


Tom Tromey wrote:
>>>>>>"Andrew" == Andrew Haley <aph@redhat.com> writes:
> 
> 
>>>Anyone have other ideas, comments, or constraints?
> 
> 
> Andrew> Put the DSO in the jar.
> 
> Some folks out there actually do this, I've seen code for it.
> 
> I'm not sure we ought to do it ourselves though.  For one thing it
> means that signed jars would have to be re-signed.

I don't think so.  IIRC the signing is on a per classfile basis, so adding
extra things to the jar would not invalidate the signature.

>  For another, it
> interferes with common packaging approaches that make jars noarch.
> 
> Tom

I agree with this part.  We want a way to tightly associate a DSO with a
jar file without having to touch the jar itself.

David Daney



More information about the Java mailing list