RFR: demo to show module can be loaded by both Jigsaw and OSGi

Shi Jun Zhang zhangshj at linux.vnet.ibm.com
Tue Feb 28 01:18:05 PST 2012


Hi,

I want to contribute my simple demo which can demonstrate the capability 
that a module/bundle can be loaded and ran by both Jigsaw and OSGi. When 
a module is installed into a library, all the class files will be 
packaged into a jar file named classes. Adding OSGi metadata into this 
jar file can make it as an OSGi bundle.

The main part of the src are from java2d demo. I repackage them into 3 
modules and add module-info.java/MANIFEST.MF for these modules. There is 
a README file in root folder tells how to build and run.

Here is the webrev link
http://cr.openjdk.java.net/~zhangshj/penrose_java2d_demo/webrev.00/

-- 
Regards,

Shi Jun Zhang




More information about the penrose-dev mailing list