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/security \
  61     jdk \
  62     sun/invoke \
  63     sun/launcher \
  64     sun/misc \
  65     sun/net/ \
  66     sun/nio \
  67     sun/reflect \
  68     sun/security \
  69     sun/text \
  70     sun/usagetracker \
  71     sun/util
  72 
  73 PROFILE_1_RTJAR_INCLUDE_TYPES := 
  74 
  75 PROFILE_1_RTJAR_EXCLUDE_TYPES := 
  76 
  77 PROFILE_1_INCLUDE_METAINF_SERVICES := 
  78 
  79 
  80 PROFILE_2_RTJAR_INCLUDE_PACKAGES := \
  81     com/sun/java_cup/internal/runtime \
  82     com/sun/net/httpserver \
  83     com/sun/org/apache \
  84     com/sun/rmi/rmid \
  85     com/sun/xml/internal/stream \
  86     java/rmi \
  87     java/sql \
  88     javax/rmi/ssl \
  89     javax/sql \
  90     javax/transaction \
  91     javax/xml \
  92     org/w3c \
  93     org/xml/sax \
  94     sun/net/httpserver \
  95     sun/rmi \
  96     sun/util/xml
  97 
  98 PROFILE_2_RTJAR_INCLUDE_TYPES := 
  99 
 100 PROFILE_2_RTJAR_EXCLUDE_TYPES := 
 101 
 102 PROFILE_2_INCLUDE_METAINF_SERVICES := \
 103     META-INF/services/sun.util.spi.XmlPropertiesProvider 
 104 
 105 
 106 PROFILE_3_RTJAR_INCLUDE_PACKAGES := \
 107     com/sun/jmx \
 108     com/sun/jndi \
 109     com/sun/management \
 110     com/sun/naming/internal \
 111     com/sun/nio/sctp \
 112     com/sun/org/apache/xml/internal/security \
 113     com/sun/rowset \
 114     com/sun/script \
 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/script \
 129     javax/security/auth/kerberos \
 130     javax/security/sasl \
 131     javax/smartcardio \
 132     javax/sql/rowset \
 133     javax/tools \
 134     javax/xml/crypto \
 135     org/ietf/jgss \
 136     org/jcp/xml \
 137     sun/instrument \
 138     sun/management \
 139     sun/net/dns \
 140     sun/net/www/protocol/http/ntlm \
 141     sun/net/www/protocol/http/spnego \
 142     sun/nio/ch/sctp \
 143     sun/org/mozilla \
 144     sun/security/acl \
 145     sun/security/jgss \
 146     sun/security/krb5 \
 147     sun/security/provider/certpath/ldap \
 148     sun/security/smartcardio \
 149     sun/tracing
 150 
 151 PROFILE_3_RTJAR_INCLUDE_TYPES := 
 152 
 153 PROFILE_3_RTJAR_EXCLUDE_TYPES := \
 154     com/sun/security/auth/callback/DialogCallbackHandler$$1.class \
 155     com/sun/security/auth/callback/DialogCallbackHandler$$2.class \
 156     com/sun/security/auth/callback/DialogCallbackHandler$$Action.class \
 157     com/sun/security/auth/callback/DialogCallbackHandler$$ConfirmationInfo.class \
 158     com/sun/security/auth/callback/DialogCallbackHandler.class \
 159     javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \
 160     javax/management/remote/rmi/_RMIConnection_Stub.class \
 161     javax/management/remote/rmi/_RMIServerImpl_Tie.class \
 162     javax/management/remote/rmi/_RMIServer_Stub.class
 163 
 164 PROFILE_3_INCLUDE_METAINF_SERVICES := \
 165     META-INF/services/javax.script.ScriptEngineFactory 
 166 
 167 
 168 FULL_JRE_RTJAR_INCLUDE_PACKAGES := \
 169     com/oracle \
 170     com/sun/accessibility/internal/resources \
 171     com/sun/activation/registries \
 172     com/sun/awt \
 173     com/sun/beans \
 174     com/sun/corba \
 175     com/sun/image/codec/jpeg \
 176     com/sun/imageio \
 177     com/sun/istack \
 178     com/sun/java/browser \
 179     com/sun/java/swing \
 180     com/sun/jmx/remote/protocol/iiop \
 181     com/sun/jndi/cosnaming \
 182     com/sun/jndi/toolkit/corba \
 183     com/sun/jndi/url/corbaname \
 184     com/sun/jndi/url/iiop \
 185     com/sun/jndi/url/iiopname \
 186     com/sun/media/sound \
 187     com/sun/org/glassfish \
 188     com/sun/org/omg \
 189     com/sun/servicetag \
 190     com/sun/swing \
 191     com/sun/xml/internal/bind \
 192     com/sun/xml/internal/fastinfoset \
 193     com/sun/xml/internal/messaging \
 194     com/sun/xml/internal/org \
 195     com/sun/xml/internal/stream/buffer \
 196     com/sun/xml/internal/txw2 \
 197     com/sun/xml/internal/ws \
 198     java/applet \
 199     java/awt \
 200     java/beans \
 201     javax/accessibility \
 202     javax/activation \
 203     javax/activity \
 204     javax/imageio \
 205     javax/jws \
 206     javax/print \
 207     javax/rmi/CORBA \
 208     javax/sound \
 209     javax/swing \
 210     javax/xml/bind \
 211     javax/xml/soap \
 212     javax/xml/ws \
 213     org/omg \
 214     sun/applet \
 215     sun/audio \
 216     sun/awt \
 217     sun/corba \
 218     sun/dc \
 219     sun/font \
 220     sun/java2d \
 221     sun/net/ftp \
 222     sun/net/smtp \
 223     sun/net/www/content/audio \
 224     sun/net/www/content/image \
 225     sun/net/www/content/text \
 226     sun/net/www/protocol/ftp \
 227     sun/net/www/protocol/mailto \
 228     sun/net/www/protocol/netdoc \
 229     sun/print \
 230     sun/security/tools/policytool \
 231     sun/swing \
 232     sun/tools/jar
 233 
 234 FULL_JRE_RTJAR_INCLUDE_TYPES := \
 235     com/sun/security/auth/callback/DialogCallbackHandler$$1.class \
 236     com/sun/security/auth/callback/DialogCallbackHandler$$2.class \
 237     com/sun/security/auth/callback/DialogCallbackHandler$$Action.class \
 238     com/sun/security/auth/callback/DialogCallbackHandler$$ConfirmationInfo.class \
 239     com/sun/security/auth/callback/DialogCallbackHandler.class \
 240     javax/annotation/*.class \
 241     javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \
 242     javax/management/remote/rmi/_RMIConnection_Stub.class \
 243     javax/management/remote/rmi/_RMIServerImpl_Tie.class \
 244     javax/management/remote/rmi/_RMIServer_Stub.class \
 245     javax/rmi/*.class
 246 
 247 FULL_JRE_RTJAR_EXCLUDE_TYPES := 
 248 
 249 FULL_JRE_INCLUDE_METAINF_SERVICES := \
 250     META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin  \
 251     META-INF/services/com.sun.tools.internal.xjc.Plugin  \
 252     META-INF/services/javax.print.PrintServiceLookup  \
 253     META-INF/services/javax.print.StreamPrintServiceFactory  \
 254     META-INF/services/javax.sound.midi.spi.MidiDeviceProvider  \
 255     META-INF/services/javax.sound.midi.spi.MidiFileReader  \
 256     META-INF/services/javax.sound.midi.spi.MidiFileWriter  \
 257     META-INF/services/javax.sound.midi.spi.SoundbankReader  \
 258     META-INF/services/javax.sound.sampled.spi.AudioFileReader  \
 259     META-INF/services/javax.sound.sampled.spi.AudioFileWriter  \
 260     META-INF/services/javax.sound.sampled.spi.FormatConversionProvider  \
 261     META-INF/services/javax.sound.sampled.spi.MixerProvider  \
 262     META-INF/services/sun.java2d.cmm.PCMM  \
 263     META-INF/services/sun.java2d.pipe.RenderingEngine 
 264 
 265