[jboss-dev] Refactoring packaging/packages to reduce "signed jar groups"

David M. Lloyd david.lloyd at redhat.com
Thu Feb 25 13:25:11 EST 2010


On 02/25/2010 11:43 AM, Adrian Brock wrote:
> On Thu, 2010-02-25 at 11:17 -0600, David M. Lloyd wrote:
>>> One possible workaround solution would be to allow you to somehow
>>> specify that the unsigned jar should create its own local package.
>>> i.e. instead of searching the ClassLoaderDomain for the existing package
>>> you just create one locally.
>>
>> Out of curiosity, is there a reason we don't do this already (i.e. a javaee
>> spec or something)?  I'd think that by default each JAR should have a
>> separate package space, but I guess there could be exceptions in certain cases.
>>
>
> Package sealing wouldn't work. It would see them as two
> separate packages.

Isn't that a good thing?  Or are split packages a lot more pervasive than I 
thought?  Packages are usually sealed with respect to a single JAR anyway, 
aren't they?

- DML



More information about the jboss-development mailing list