Legacy mode, module mode, mixed mode

Mandy Chung mandy.chung at oracle.com
Mon Jun 7 11:36:43 PDT 2010


On 06/07/10 10:57, Sean Mullan wrote:
> On 6/2/10 7:30 PM, Mandy Chung wrote:
>> C) Mixed mode
>> C.a) A legacy application running with classpath and with third-party
>> modules
>>
>> This will be supported to ease migration to enable libraries to
>> migrate to modules which legacy applications can continue to work.
>>
>> This will require some change in the legacy applications to specify its
>> required modules and versions.
>>
>> One option is to extend the manifest of the legacy application jar file:
>> Main-Class: com.greetings.Main
>> Required-Modules: org.astro at 1.2.3
>> Required-Platform-Modules: jdk.base, jdk.logging
>
> Note that if the legacy application is signed, this will break the 
> signature so you will need to re-sign it.
>

Thanks for pointing this out.  I'll make a note of it and include that 
in the discussion of the mixed mode support.

Mandy



More information about the jigsaw-dev mailing list