jdk/make/modules/modules.config
changeset 4665 d14dc3d9e1fa
parent 4524 697144bd8b04
child 5506 202f599c92aa
child 5609 cc144006eb2a
equal deleted inserted replaced
4664:0b0443cbc448 4665:d14dc3d9e1fa
   370     include sun.misc.VMSupport;
   370     include sun.misc.VMSupport;
   371 }
   371 }
   372 
   372 
   373 /**************************************************************************/
   373 /**************************************************************************/
   374 
   374 
       
   375 module tracing {
       
   376     // tracing
       
   377     include com.sun.tracing.**, sun.tracing.**;
       
   378 }
       
   379 
   375 module instrument {
   380 module instrument {
   376     // java.lang.instrument
   381     // java.lang.instrument
   377     include java.lang.instrument.*, sun.instrument.*;
   382     include java.lang.instrument.*, sun.instrument.*;
   378 
   383 
   379     // tracing
       
   380     include com.sun.tracing.**, sun.tracing.**;
       
   381 
       
   382     // HPROF support
   384     // HPROF support
   383     include com.sun.demo.jvmti.hprof.*;
   385     include com.sun.demo.jvmti.hprof.*;
       
   386 
       
   387     include tracing;
   384 }
   388 }
   385 
   389 
   386 /**************************************************************************/
   390 /**************************************************************************/
   387 
   391 
   388 module rmi-activation {
   392 module rmi-activation {
   389     include java.rmi.activation.**,
   393     include java.rmi.activation.**,
   390             sun.rmi.server.Act*,
   394             sun.rmi.server.Act*,
   391             sun.rmi.server.InactiveGroupException;
   395             sun.rmi.server.InactiveGroupException;
   392 }
   396 }
   393 
   397 
       
   398 module rmic {
       
   399     // rmic is included in tools
       
   400     include sun.rmi.rmic.**;
       
   401 }
       
   402 
   394 module rmi {
   403 module rmi {
   395     include java.rmi.**, sun.rmi.**, com.sun.rmi.**;
   404     include java.rmi.**, sun.rmi.**, com.sun.rmi.**;
   396 
   405 
   397     // SSL factories are in rmi
   406     // SSL factories are in rmi
   398     include javax.rmi.ssl.**;
   407     include javax.rmi.ssl.**;
   399 
       
   400     // rmic is in tools
       
   401     exclude sun.rmi.rmic.**;
       
   402 
   408 
   403     // supporting classes in sun.misc and dependencies
   409     // supporting classes in sun.misc and dependencies
   404     include sun.misc.GC;
   410     include sun.misc.GC;
   405 }
   411 }
   406 
   412 
   466 
   472 
   467 module security-smartcardio {
   473 module security-smartcardio {
   468     include javax.smartcardio.**, sun.security.smartcardio.**;
   474     include javax.smartcardio.**, sun.security.smartcardio.**;
   469 }
   475 }
   470 
   476 
       
   477 module security-auth {
       
   478     include com.sun.security.auth.**, sun.security.util.AuthResources_*;
       
   479 }
       
   480 
   471 module security-misc {
   481 module security-misc {
   472     include com.sun.security.auth.**, sun.security.util.AuthResources_*,
   482     include security-auth;
   473             sun.security.pkcs.*,
   483 
       
   484     include sun.security.pkcs.*,
   474             sun.security.pkcs12.*;
   485             sun.security.pkcs12.*;
   475 
   486 
   476     // this class is a candidate to be removed.
   487     // this class is a candidate to be removed.
   477     include sun.security.util.BigInt;
   488     include sun.security.util.BigInt;
   478 }
   489 }
   498 module jndi-rmiregistry {
   509 module jndi-rmiregistry {
   499     include com.sun.jndi.rmi.**, com.sun.jndi.url.rmi.**;
   510     include com.sun.jndi.rmi.**, com.sun.jndi.url.rmi.**;
   500 }
   511 }
   501 
   512 
   502 module jndi-dns {
   513 module jndi-dns {
       
   514     include net-dns;
   503     include com.sun.jndi.dns.**, com.sun.jndi.url.dns.**;
   515     include com.sun.jndi.dns.**, com.sun.jndi.url.dns.**;
   504     include sun.net.dns.**;                 // to access DNS config.
       
   505     include sun.net.spi.nameservice.dns.**; // for DNS-only name service.
       
   506 }
   516 }
   507 
   517 
   508 module jndi-cosnaming {
   518 module jndi-cosnaming {
   509     include com.sun.jndi.cosnaming.**,
   519     include com.sun.jndi.cosnaming.**,
   510             com.sun.jndi.toolkit.corba.**,
   520             com.sun.jndi.toolkit.corba.**,
   675     exclude org.omg.stub.javax.management.**;
   685     exclude org.omg.stub.javax.management.**;
   676 }
   686 }
   677 
   687 
   678 /**************************************************************************/
   688 /**************************************************************************/
   679 
   689 
       
   690 module applet {
       
   691     include java.applet.**,
       
   692             sun.applet.**;
       
   693 }
       
   694 
       
   695 module awt {
       
   696     include java.awt.**,
       
   697             sun.awt.**,
       
   698             com.sun.awt.**;
       
   699 }
       
   700 
       
   701 module font {
       
   702     include sun.font.**;
       
   703 }
       
   704 
       
   705 module imageio {
       
   706     include javax.imageio.**,
       
   707             com.sun.imageio.**;
       
   708 }
       
   709 
       
   710 module java2d {
       
   711     include sun.dc.**,
       
   712             sun.java2d.**,
       
   713             com.sun.image.**;
       
   714 }
       
   715 
       
   716 module media {
       
   717     include com.sun.media.**;
       
   718 }
       
   719 
       
   720 module print {
       
   721     include javax.print.**,
       
   722             sun.print.**;
       
   723 }
       
   724 
       
   725 module sound {
       
   726     include javax.sound.**;
       
   727 }
       
   728 
       
   729 module swing {
       
   730     include javax.swing.**,
       
   731             sun.swing.**,
       
   732             // sajdi also contains classes in subpackages of com.sun.java.swing;
       
   733             // so use '*' instead of '**' 
       
   734             com.sun.java.swing.*,
       
   735             com.sun.java.swing.plaf.**,
       
   736             com.sun.swing.**;
       
   737 }
       
   738 
   680 module client {
   739 module client {
   681     include java.applet.**,
   740     include applet,
   682             java.awt.**,
   741             awt,
   683             javax.accessibility.*,
   742             font,
   684             javax.imageio.**,
   743             imageio,
   685             javax.print.**,
   744             java2d,
   686             javax.sound.**,
   745             media,
   687             javax.swing.**,
   746             print,
   688             sun.applet.**,
   747             sound,
       
   748             swing;
       
   749 
       
   750     include javax.accessibility.*,
   689             sun.audio.**,
   751             sun.audio.**,
   690             sun.awt.**,
   752             com.sun.accessibility.**;
   691             sun.dc.**,
       
   692             sun.font.**,
       
   693             sun.java2d.**,
       
   694             sun.print.**,
       
   695             sun.swing.**,
       
   696             com.sun.accessibility.**,
       
   697             com.sun.awt.**,
       
   698             com.sun.image.**,
       
   699             com.sun.imageio.**,
       
   700             com.sun.java.swing.*,       // sajdi also contains classes in a subpackage;
       
   701                                         // so use '*' instead of '**' 
       
   702             com.sun.java.swing.plaf.**,
       
   703             com.sun.media.**,
       
   704             com.sun.swing.**;
       
   705 
   753 
   706     // Bidi class in client module for now
   754     // Bidi class in client module for now
   707     include java.text.Bidi, sun.text.bidi.*;
   755     include java.text.Bidi, sun.text.bidi.*;
   708 
   756 
   709     // PerformanceLogger and dependencies
   757     // PerformanceLogger and dependencies
   721             sun.net.www.content.image.**;
   769             sun.net.www.content.image.**;
   722 }
   770 }
   723 
   771 
   724 /**************************************************************************/
   772 /**************************************************************************/
   725 
   773 
       
   774 module jkernel {
       
   775     include sun.jkernel.*;
       
   776 }
       
   777 
   726 module deploy {
   778 module deploy {
       
   779     include jkernel;
       
   780 
   727     // For now, all plugin and JNLP
   781     // For now, all plugin and JNLP
   728     include com.sun.java.browser.**,
   782     include com.sun.java.browser.**,
   729             netscape.**,
   783             netscape.**,
   730             sun.plugin.**,
   784             sun.plugin.**,
   731             sun.plugin2.**,,
   785             sun.plugin2.**,,
   732             com.sun.deploy.**,
   786             com.sun.deploy.**,
   733             com.sun.javaws.**,
   787             com.sun.javaws.**,
   734             javax.jnlp.*,
   788             javax.jnlp.*,
   735             com.sun.jnlp.*,
   789             com.sun.jnlp.*;
   736             sun.jkernel.*;
       
   737 
   790 
   738     // Hook for http authentication
   791     // Hook for http authentication
   739     include sun.net.www.protocol.http.AuthCacheBridge;
   792     include sun.net.www.protocol.http.AuthCacheBridge;
   740 }
   793 }
   741 
   794 
   742 /**************************************************************************/
   795 /**************************************************************************/
       
   796 
       
   797 module net-dns {
       
   798     include sun.net.dns.**;                 // to access DNS config.
       
   799     include sun.net.spi.nameservice.dns.**; // for DNS-only name service.
       
   800 }
   743 
   801 
   744 module net-compat {
   802 module net-compat {
   745     // NTLM authentication support
   803     // NTLM authentication support
   746     include sun.net.www.protocol.http.ntlm.*;
   804     include sun.net.www.protocol.http.ntlm.*;
   747 
   805 
   822 module tools {
   880 module tools {
   823     include attach,
   881     include attach,
   824             debugging,
   882             debugging,
   825             jaxws-tools,
   883             jaxws-tools,
   826             jdb,
   884             jdb,
       
   885             rmic,
   827             sajdi;
   886             sajdi;
   828 
   887 
   829     // include gui-tools in tools module unless the tool binaries
   888     // include gui-tools in tools module unless the tool binaries
   830     // are modified to load the new gui-tools.jar
   889     // are modified to load the new gui-tools.jar
   831     include gui-tools;
   890     include gui-tools;
   832 
   891 
   833     include com.sun.tools.**, sun.tools.**, sun.security.tools.**,
   892     include com.sun.tools.**, sun.tools.**, sun.security.tools.**,
   834             com.sun.jarsigner.**,
   893             com.sun.jarsigner.**,
   835             com.sun.javac.**,
   894             com.sun.javac.**,
   836             com.sun.javadoc.**, com.sun.source.**,
   895             com.sun.javadoc.**, com.sun.source.**,
   837             sun.jvmstat.**,
   896             sun.jvmstat.**;
   838             sun.rmi.rmic.**;
       
   839 }
   897 }
   840 
   898 
   841 /**************************************************************************/
   899 /**************************************************************************/
   842 
   900 
   843 module servicetag {
   901 module servicetag {
   851     include com.sun.inputmethods.internal.**;
   909     include com.sun.inputmethods.internal.**;
   852 }
   910 }
   853 
   911 
   854 /**************************************************************************/
   912 /**************************************************************************/
   855 
   913 
       
   914 // Workaround for US export and local policy files 
       
   915 // They are currently in signed jars under the jre/lib/security directory
       
   916 module US_export_policy {
       
   917     include default_US_export.policy;
       
   918 }
       
   919 
       
   920 module local_policy {
       
   921     include default_local.policy,
       
   922             exempt_local.policy;
       
   923 }
       
   924 
       
   925 /**************************************************************************/
       
   926 
   856 module other {
   927 module other {
   857     include **;
   928     include **;
   858 }
   929 }