mlvm-dev Digest, Vol 16, Issue 6

Kirill Shirokov Kirill.Shirokov at Sun.COM
Tue Mar 17 18:39:27 PDT 2009


The following patch includes java.dyn.* classes into rt.jar:

===

diff -r fce4266e4a96 make/docs/CORE_PKGS.gmk

--- a/make/docs/CORE_PKGS.gmk   Mon Dec 22 19:49:22 2008 +0300

+++ b/make/docs/CORE_PKGS.gmk   Thu Dec 25 22:02:47 2008 +0300

@@ -96,6 +96,9 @@

   java.awt.print                                 \

   java.beans                                     \

   java.beans.beancontext                         \

+  java.dyn                                      \

+  java.dyn.impl                                         \

+  java.dyn.util                                         \

   java.io                                        \

   java.lang                                      \

   java.lang.annotation                           \

diff -r fce4266e4a96 make/java/Makefile

--- a/make/java/Makefile        Mon Dec 22 19:49:22 2008 +0300

+++ b/make/java/Makefile        Thu Dec 25 22:02:47 2008 +0300

@@ -40,7 +40,8 @@

 #    Note: java_crw_demo java_hprof_demo are demos but must be delivered built in sdk

 SUBDIRS += security npt java_crw_demo java_hprof_demo \

            math awt util text applet net nio \

-           sql rmi jar beans logging management instrument

+           sql rmi jar beans logging management instrument \

+           dyn

 ifeq ($(PLATFORM), solaris)

diff -r fce4266e4a96 make/java/dyn/Makefile

--- /dev/null   Thu Jan 01 00:00:00 1970 +0000

+++ b/make/java/dyn/Makefile    Thu Dec 25 22:02:47 2008 +0300

+BUILDDIR = ../..

+

+PACKAGE = java.dyn

+PRODUCT = sun

+include $(BUILDDIR)/common/Defs.gmk

+

+AUTO_FILES_JAVA_DIRS = java/dyn

+

+include $(BUILDDIR)/common/Classes.gmk


===

I applied it to b42 (but I didn't try to add java.dyn.* into sharing 
class lists).

Kirill
>
> Does anyone happen to know where are the cut points for putting the 
> new packages and class files into the makefiles?  I'm looking at 
> java.math for a model:
>   $davinci/sources/jdk/...
>     make/java/math/Makefile
>     make/tools/sharing/classlist.linux
>     make/tools/sharing/classlist.windows
>
> -- John




More information about the mlvm-dev mailing list