Review for the jigsaw module build change

Mandy Chung Mandy.Chung at Sun.COM
Mon Feb 1 11:50:49 PST 2010


Webrev at:
   http://cr.openjdk.java.net/~mchung/6921879/webrev.00/

Summary of my current set of changes:
o modules makefile target will create 4 jigsaw images:
  jdk-base-image and jre-base-image
  jdk-module-image and jre-module-image (full JDK and JRE)

o modularize the jdk to generate jdk7 base module and
  a number of other modules defined in modules.config and
  modules.group

  The granularity of the modules will be sorted out in 
  the future.  The current list is all fine-grained modules.

o All jdk tools except javac and jmod are now running in module
  mode.  javac will be changed to run in module mode when Jon's
  change is in.  I'll have to look into the jmod bootstrap
  issue to determine if we can make it run in module mode.

o ClassAnalyzer to generate the module-info.java that's
  where most of my time was spent in generating the proper
  module dependencies so as to get the jdk modules installed
  successfully.

o jprt modules build successfully on all platforms
  I fixed a couple issues in the hotspot/make/solaris/makefiles/mapfile-vers
  jdk/make/java/java/mapfile-vers, and org/openjdk/jigsaw/BootLoader.c.

o Ran test/jdk/java/* jtreg tests on solaris-i586 and linux-amd64
  in legacy mode.  Will run jtreg tests on windows.

o Sync'ed jigsaw repo with jdk 7 b81

I'd like to push this change to the jigsaw repo tomorrow.  

Alan, do you have cycle to take a look at this webrev?

There are more to do as listed in make/common/Modules.gmk but
I think it's good to push this change out so that all of us can
play with the modular jdk.

Mandy





More information about the jigsaw-dev mailing list