Legacy mode, module mode, mixed mode

Sean Mullan sean.mullan at oracle.com
Mon Jun 7 10:57:04 PDT 2010


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.

--Sean




More information about the jigsaw-dev mailing list