1 #
   2 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # Included or excluded types must take one of two forms
  27 # - *.class   to indicate all classes; or else
  28 # - a full single type name e.g.
  29 #      com/sun/security/auth/callback/DialogCallbackHandler$$1.class
  30 # You can not use arbitrary wildcards like DialogCallbackHandler*.class.
  31 #
  32 # Notes:
  33 #  -  Nested types must use $$ in place of $ as $ is the make meta-character
  34 #  -  If a package is not listed in any profile's inclusion list then it will
  35 #     not appear in any profile. But if a package is also missing from the
  36 #     full JRE's inclusion list then it will still be part of the full JRE.
  37 #     This is because the full JRE's inclusion lists are only used to define
  38 #     the exclusion lists for profiles; they are not used to define the full
  39 #     JRE contents - that is still done with the pre-profile legacy mechanism
  40 #     (all packagesthat can be found, less those not intended for rt.jar).
  41 #     This was done to minimize the impact of profiles on the regular
  42 #     non-profile build.
  43 #
  44 PROFILE_1_RTJAR_INCLUDE_PACKAGES := \
  45     com/sun/demo/jvmti/hprof \
  46     com/sun/java/util/jar/pack \
  47     com/sun/net/ssl \
  48     com/sun/nio/file \
  49     com/sun/security/cert/internal/x509 \
  50     java/io \
  51     java/lang \
  52     java/math \
  53     java/net \
  54     java/nio \
  55     java/security \
  56     java/text \
  57     java/time \
  58     java/util \
  59     javax/net \
  60     javax/script \
  61     javax/security \
  62     jdk \
  63     sun/invoke \
  64     sun/launcher \
  65     sun/misc \
  66     sun/net/ \
  67     sun/nio \
  68     sun/reflect \
  69     sun/security \
  70     sun/text \
  71     sun/usagetracker \
  72     sun/util
  73 
  74 PROFILE_1_RTJAR_INCLUDE_TYPES := 
  75 
  76 PROFILE_1_RTJAR_EXCLUDE_TYPES := 
  77 
  78 PROFILE_1_INCLUDE_METAINF_SERVICES := 
  79 
  80 
  81 PROFILE_2_RTJAR_INCLUDE_PACKAGES := \
  82     com/sun/java_cup/internal/runtime \
  83     com/sun/net/httpserver \
  84     com/sun/org/apache \
  85     com/sun/rmi/rmid \
  86     com/sun/xml/internal/stream \
  87     java/rmi \
  88     java/sql \
  89     javax/rmi/ssl \
  90     javax/sql \
  91     javax/transaction \
  92     javax/xml \
  93     org/w3c \
  94     org/xml/sax \
  95     sun/net/httpserver \
  96     sun/rmi \
  97     sun/util/xml
  98 
  99 PROFILE_2_RTJAR_INCLUDE_TYPES := 
 100 
 101 PROFILE_2_RTJAR_EXCLUDE_TYPES := 
 102 
 103 PROFILE_2_INCLUDE_METAINF_SERVICES := \
 104     META-INF/services/sun.util.spi.XmlPropertiesProvider 
 105 
 106 
 107 PROFILE_3_RTJAR_INCLUDE_PACKAGES := \
 108     com/sun/jmx \
 109     com/sun/jndi \
 110     com/sun/management \
 111     com/sun/naming/internal \
 112     com/sun/nio/sctp \
 113     com/sun/org/apache/xml/internal/security \
 114     com/sun/rowset \
 115     com/sun/security/auth \
 116     com/sun/security/jgss \
 117     com/sun/security/ntlm \
 118     com/sun/security/sasl \
 119     com/sun/tracing \
 120     java/lang/instrument \
 121     java/lang/management \
 122     java/security/acl \
 123     java/util/prefs \
 124     javax/annotation/processing \
 125     javax/lang/model \
 126     javax/management \
 127     javax/naming \
 128     javax/security/auth/kerberos \
 129     javax/security/sasl \
 130     javax/smartcardio \
 131     javax/sql/rowset \
 132     javax/tools \
 133     javax/xml/crypto \
 134     org/ietf/jgss \
 135     org/jcp/xml \
 136     sun/instrument \
 137     sun/management \
 138     sun/net/dns \
 139     sun/net/www/protocol/http/ntlm \
 140     sun/net/www/protocol/http/spnego \
 141     sun/nio/ch/sctp \
 142     sun/security/acl \
 143     sun/security/jgss \
 144     sun/security/krb5 \
 145     sun/security/provider/certpath/ldap \
 146     sun/security/smartcardio \
 147     sun/tracing
 148 
 149 PROFILE_3_RTJAR_INCLUDE_TYPES := 
 150 
 151 PROFILE_3_RTJAR_EXCLUDE_TYPES := \
 152     com/sun/security/auth/callback/DialogCallbackHandler$$1.class \
 153     com/sun/security/auth/callback/DialogCallbackHandler$$2.class \
 154     com/sun/security/auth/callback/DialogCallbackHandler$$Action.class \
 155     com/sun/security/auth/callback/DialogCallbackHandler$$ConfirmationInfo.class \
 156     com/sun/security/auth/callback/DialogCallbackHandler.class \
 157     javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \
 158     javax/management/remote/rmi/_RMIConnection_Stub.class \
 159     javax/management/remote/rmi/_RMIServerImpl_Tie.class \
 160     javax/management/remote/rmi/_RMIServer_Stub.class
 161 
 162 FULL_JRE_RTJAR_INCLUDE_PACKAGES := \
 163     com/oracle \
 164     com/sun/accessibility/internal/resources \
 165     com/sun/activation/registries \
 166     com/sun/awt \
 167     com/sun/beans \
 168     com/sun/corba \
 169     com/sun/image/codec/jpeg \
 170     com/sun/imageio \
 171     com/sun/istack \
 172     com/sun/java/browser \
 173     com/sun/java/swing \
 174     com/sun/jmx/remote/protocol/iiop \
 175     com/sun/jndi/cosnaming \
 176     com/sun/jndi/toolkit/corba \
 177     com/sun/jndi/url/corbaname \
 178     com/sun/jndi/url/iiop \
 179     com/sun/jndi/url/iiopname \
 180     com/sun/media/sound \
 181     com/sun/org/glassfish \
 182     com/sun/org/omg \
 183     com/sun/swing \
 184     com/sun/xml/internal/bind \
 185     com/sun/xml/internal/fastinfoset \
 186     com/sun/xml/internal/messaging \
 187     com/sun/xml/internal/org \
 188     com/sun/xml/internal/stream/buffer \
 189     com/sun/xml/internal/txw2 \
 190     com/sun/xml/internal/ws \
 191     java/applet \
 192     java/awt \
 193     java/beans \
 194     javax/accessibility \
 195     javax/activation \
 196     javax/activity \
 197     javax/imageio \
 198     javax/jws \
 199     javax/print \
 200     javax/rmi/CORBA \
 201     javax/sound \
 202     javax/swing \
 203     javax/xml/bind \
 204     javax/xml/soap \
 205     javax/xml/ws \
 206     org/omg \
 207     sun/applet \
 208     sun/audio \
 209     sun/awt \
 210     sun/corba \
 211     sun/dc \
 212     sun/font \
 213     sun/java2d \
 214     sun/net/ftp \
 215     sun/net/smtp \
 216     sun/net/www/content/audio \
 217     sun/net/www/content/image \
 218     sun/net/www/content/text \
 219     sun/net/www/protocol/ftp \
 220     sun/net/www/protocol/mailto \
 221     sun/net/www/protocol/netdoc \
 222     sun/print \
 223     sun/security/tools/policytool \
 224     sun/swing \
 225     sun/tools/jar
 226 
 227 FULL_JRE_RTJAR_INCLUDE_TYPES := \
 228     com/sun/security/auth/callback/DialogCallbackHandler$$1.class \
 229     com/sun/security/auth/callback/DialogCallbackHandler$$2.class \
 230     com/sun/security/auth/callback/DialogCallbackHandler$$Action.class \
 231     com/sun/security/auth/callback/DialogCallbackHandler$$ConfirmationInfo.class \
 232     com/sun/security/auth/callback/DialogCallbackHandler.class \
 233     javax/annotation/*.class \
 234     javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \
 235     javax/management/remote/rmi/_RMIConnection_Stub.class \
 236     javax/management/remote/rmi/_RMIServerImpl_Tie.class \
 237     javax/management/remote/rmi/_RMIServer_Stub.class \
 238     javax/rmi/*.class
 239 
 240 FULL_JRE_RTJAR_EXCLUDE_TYPES := 
 241 
 242 FULL_JRE_INCLUDE_METAINF_SERVICES := \
 243     META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin  \
 244     META-INF/services/com.sun.tools.internal.xjc.Plugin  \
 245     META-INF/services/javax.print.PrintServiceLookup  \
 246     META-INF/services/javax.print.StreamPrintServiceFactory  \
 247     META-INF/services/javax.sound.midi.spi.MidiDeviceProvider  \
 248     META-INF/services/javax.sound.midi.spi.MidiFileReader  \
 249     META-INF/services/javax.sound.midi.spi.MidiFileWriter  \
 250     META-INF/services/javax.sound.midi.spi.SoundbankReader  \
 251     META-INF/services/javax.sound.sampled.spi.AudioFileReader  \
 252     META-INF/services/javax.sound.sampled.spi.AudioFileWriter  \
 253     META-INF/services/javax.sound.sampled.spi.FormatConversionProvider  \
 254     META-INF/services/javax.sound.sampled.spi.MixerProvider  \
 255     META-INF/services/sun.java2d.cmm.PCMM  \
 256     META-INF/services/sun.java2d.pipe.RenderingEngine 
 257 
 258