Example code in JDK8 requiring change for modular function

Mandy Chung mandy.chung at oracle.com
Mon May 7 09:34:14 PDT 2012


On 5/7/2012 1:52 AM, Paul Sandoz wrote:
> So this is good example of where we could have two code paths based on a boolean check if running in module mode or not.


It's good that you start looking into this example and others in JDK that
will need to handle across the board.  FYI. I added a few static methods
in org.openjdk.jigsaw.Platform, part of the changes I posted [1]:
   http://cr.openjdk.java.net/~mchung/jigsaw/webrevs/module-class-loading/webrev-jigsaw-ms/src/share/classes/org/openjdk/jigsaw/Platform.java.sdiff.html

Mandy

[1] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2012-May/002498.html




More information about the jigsaw-dev mailing list