Incremental jdk development

Mandy Chung mandy.chung at oracle.com
Tue May 25 13:32:08 PDT 2010


In the jigsaw repo, the makefile to modularize the jdk 
(make/modules/Makefile) is not optimized and it will reinstall all jdk 
modules in a module library every time it is made.  Some of us have our 
own script to update the module library rather than remaking 
make/modules/Makefile.

I include such script in the jigsaw/jdk repo for the incremental jdk 
development as an interim solution:
   
http://hg.openjdk.java.net/jigsaw/jigsaw/jdk/file/335e3289aba7/make/modules/update_module.sh

For example, after you recompile classes in some directory,
   $ cd make/java/java ; make all

you can use the script to update the module library:
   $ make/modules/update_module.sh jdk.boot

Please refer to the script for different options.  Hope this helps.

Mandy
[1] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2010-May/000960.html



More information about the jigsaw-dev mailing list