--- a/jdk/make/modules/modules.config Tue Jan 05 13:44:09 2010 -0800
+++ b/jdk/make/modules/modules.config Thu Jan 07 08:14:48 2010 -0800
@@ -372,15 +372,19 @@
/**************************************************************************/
+module tracing {
+ // tracing
+ include com.sun.tracing.**, sun.tracing.**;
+}
+
module instrument {
// java.lang.instrument
include java.lang.instrument.*, sun.instrument.*;
- // tracing
- include com.sun.tracing.**, sun.tracing.**;
-
// HPROF support
include com.sun.demo.jvmti.hprof.*;
+
+ include tracing;
}
/**************************************************************************/
@@ -391,15 +395,17 @@
sun.rmi.server.InactiveGroupException;
}
+module rmic {
+ // rmic is included in tools
+ include sun.rmi.rmic.**;
+}
+
module rmi {
include java.rmi.**, sun.rmi.**, com.sun.rmi.**;
// SSL factories are in rmi
include javax.rmi.ssl.**;
- // rmic is in tools
- exclude sun.rmi.rmic.**;
-
// supporting classes in sun.misc and dependencies
include sun.misc.GC;
}
@@ -468,9 +474,14 @@
include javax.smartcardio.**, sun.security.smartcardio.**;
}
+module security-auth {
+ include com.sun.security.auth.**, sun.security.util.AuthResources_*;
+}
+
module security-misc {
- include com.sun.security.auth.**, sun.security.util.AuthResources_*,
- sun.security.pkcs.*,
+ include security-auth;
+
+ include sun.security.pkcs.*,
sun.security.pkcs12.*;
// this class is a candidate to be removed.
@@ -500,9 +511,8 @@
}
module jndi-dns {
+ include net-dns;
include com.sun.jndi.dns.**, com.sun.jndi.url.dns.**;
- include sun.net.dns.**; // to access DNS config.
- include sun.net.spi.nameservice.dns.**; // for DNS-only name service.
}
module jndi-cosnaming {
@@ -677,31 +687,69 @@
/**************************************************************************/
-module client {
+module applet {
include java.applet.**,
- java.awt.**,
- javax.accessibility.*,
- javax.imageio.**,
- javax.print.**,
- javax.sound.**,
- javax.swing.**,
- sun.applet.**,
- sun.audio.**,
+ sun.applet.**;
+}
+
+module awt {
+ include java.awt.**,
sun.awt.**,
- sun.dc.**,
- sun.font.**,
+ com.sun.awt.**;
+}
+
+module font {
+ include sun.font.**;
+}
+
+module imageio {
+ include javax.imageio.**,
+ com.sun.imageio.**;
+}
+
+module java2d {
+ include sun.dc.**,
sun.java2d.**,
- sun.print.**,
+ com.sun.image.**;
+}
+
+module media {
+ include com.sun.media.**;
+}
+
+module print {
+ include javax.print.**,
+ sun.print.**;
+}
+
+module sound {
+ include javax.sound.**;
+}
+
+module swing {
+ include javax.swing.**,
sun.swing.**,
- com.sun.accessibility.**,
- com.sun.awt.**,
- com.sun.image.**,
- com.sun.imageio.**,
- com.sun.java.swing.*, // sajdi also contains classes in a subpackage;
- // so use '*' instead of '**'
+ // sajdi also contains classes in subpackages of com.sun.java.swing;
+ // so use '*' instead of '**'
+ com.sun.java.swing.*,
com.sun.java.swing.plaf.**,
- com.sun.media.**,
com.sun.swing.**;
+}
+
+module client {
+ include applet,
+ awt,
+ font,
+ imageio,
+ java2d,
+ media,
+ print,
+ sound,
+ swing;
+
+ include javax.accessibility.*,
+ sun.audio.**,
+ com.sun.accessibility.**;
// Bidi class in client module for now
include java.text.Bidi, sun.text.bidi.*;
@@ -723,7 +771,13 @@
/**************************************************************************/
+module jkernel {
+ include sun.jkernel.*;
+}
+
module deploy {
+ include jkernel;
+
// For now, all plugin and JNLP
include com.sun.java.browser.**,
netscape.**,
@@ -732,8 +786,7 @@
com.sun.deploy.**,
com.sun.javaws.**,
javax.jnlp.*,
- com.sun.jnlp.*,
- sun.jkernel.*;
+ com.sun.jnlp.*;
// Hook for http authentication
include sun.net.www.protocol.http.AuthCacheBridge;
@@ -741,6 +794,11 @@
/**************************************************************************/
+module net-dns {
+ include sun.net.dns.**; // to access DNS config.
+ include sun.net.spi.nameservice.dns.**; // for DNS-only name service.
+}
+
module net-compat {
// NTLM authentication support
include sun.net.www.protocol.http.ntlm.*;
@@ -824,6 +882,7 @@
debugging,
jaxws-tools,
jdb,
+ rmic,
sajdi;
// include gui-tools in tools module unless the tool binaries
@@ -834,8 +893,7 @@
com.sun.jarsigner.**,
com.sun.javac.**,
com.sun.javadoc.**, com.sun.source.**,
- sun.jvmstat.**,
- sun.rmi.rmic.**;
+ sun.jvmstat.**;
}
/**************************************************************************/
@@ -853,6 +911,19 @@
/**************************************************************************/
+// Workaround for US export and local policy files
+// They are currently in signed jars under the jre/lib/security directory
+module US_export_policy {
+ include default_US_export.policy;
+}
+
+module local_policy {
+ include default_local.policy,
+ exempt_local.policy;
+}
+
+/**************************************************************************/
+
module other {
include **;
}