profile-rtjar-includes.txt 8.1 KB
Newer Older
A
alanb 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
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 31 32
# You can not use arbitrary wildcards like DialogCallbackHandler*.class.
#
# Notes:
33 34 35 36 37 38 39 40 41 42
# - Nested types must use $$ in place of $ as $ is the make meta-character
# - If a package is not listed in any profile's inclusion list then it will
#   not appear in any profile. But if a package is also missing from the
#   full JRE's inclusion list then it will still be part of the full JRE.
#   This is because the full JRE's inclusion lists are only used to define
#   the exclusion lists for profiles; they are not used to define the full
#   JRE contents - that is still done with the pre-profile legacy mechanism
#   (all packagesthat can be found, less those not intended for rt.jar).
#   This was done to minimize the impact of profiles on the regular
#   non-profile build.
43
#
A
alanb 已提交
44 45 46 47 48 49 50 51 52 53 54 55 56
PROFILE_1_RTJAR_INCLUDE_PACKAGES := \
    com/sun/demo/jvmti/hprof \
    com/sun/java/util/jar/pack \
    com/sun/net/ssl \
    com/sun/nio/file \
    com/sun/security/cert/internal/x509 \
    java/io \
    java/lang \
    java/math \
    java/net \
    java/nio \
    java/security \
    java/text \
57
    java/time \
A
alanb 已提交
58 59
    java/util \
    javax/net \
60
    javax/script \
61 62
    javax/security \
    jdk \
A
alanb 已提交
63 64 65 66 67 68
    sun/invoke \
    sun/launcher \
    sun/misc \
    sun/net/ \
    sun/nio \
    sun/reflect \
69
    sun/security \
A
alanb 已提交
70 71
    sun/text \
    sun/usagetracker \
72
    sun/util
A
alanb 已提交
73

74
PROFILE_1_RTJAR_INCLUDE_TYPES :=
A
alanb 已提交
75

76
PROFILE_1_RTJAR_EXCLUDE_TYPES :=
A
alanb 已提交
77

78
PROFILE_1_INCLUDE_METAINF_SERVICES :=
A
alanb 已提交
79 80 81 82 83


PROFILE_2_RTJAR_INCLUDE_PACKAGES := \
    com/sun/java_cup/internal/runtime \
    com/sun/net/httpserver \
84
    com/sun/org/apache \
A
alanb 已提交
85
    com/sun/rmi/rmid \
86
    com/sun/xml/internal/stream \
A
alanb 已提交
87 88 89 90 91 92
    java/rmi \
    java/sql \
    javax/rmi/ssl \
    javax/sql \
    javax/transaction \
    javax/xml \
93
    org/w3c \
A
alanb 已提交
94 95
    org/xml/sax \
    sun/net/httpserver \
96
    sun/rmi \
A
alanb 已提交
97 98
    sun/util/xml

99
PROFILE_2_RTJAR_INCLUDE_TYPES :=
A
alanb 已提交
100

101
PROFILE_2_RTJAR_EXCLUDE_TYPES :=
A
alanb 已提交
102 103

PROFILE_2_INCLUDE_METAINF_SERVICES := \
104
    META-INF/services/sun.util.spi.XmlPropertiesProvider
A
alanb 已提交
105 106 107


PROFILE_3_RTJAR_INCLUDE_PACKAGES := \
108 109
    com/sun/jmx \
    com/sun/jndi \
A
alanb 已提交
110 111 112 113 114
    com/sun/management \
    com/sun/naming/internal \
    com/sun/nio/sctp \
    com/sun/org/apache/xml/internal/security \
    com/sun/rowset \
115
    com/sun/security/auth \
A
alanb 已提交
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
    com/sun/security/jgss \
    com/sun/security/ntlm \
    com/sun/security/sasl \
    com/sun/tracing \
    java/lang/instrument \
    java/lang/management \
    java/security/acl \
    java/util/prefs \
    javax/annotation/processing \
    javax/lang/model \
    javax/management \
    javax/naming \
    javax/security/auth/kerberos \
    javax/security/sasl \
    javax/smartcardio \
    javax/sql/rowset \
    javax/tools \
    javax/xml/crypto \
    org/ietf/jgss \
135
    org/jcp/xml \
A
alanb 已提交
136 137 138 139 140 141 142 143 144 145 146
    sun/instrument \
    sun/management \
    sun/net/dns \
    sun/net/www/protocol/http/ntlm \
    sun/net/www/protocol/http/spnego \
    sun/nio/ch/sctp \
    sun/security/acl \
    sun/security/jgss \
    sun/security/krb5 \
    sun/security/provider/certpath/ldap \
    sun/security/smartcardio \
147
    sun/tracing
A
alanb 已提交
148

149
PROFILE_3_RTJAR_INCLUDE_TYPES :=
A
alanb 已提交
150 151

PROFILE_3_RTJAR_EXCLUDE_TYPES := \
152 153 154 155 156
    com/sun/security/auth/callback/DialogCallbackHandler$$1.class \
    com/sun/security/auth/callback/DialogCallbackHandler$$2.class \
    com/sun/security/auth/callback/DialogCallbackHandler$$Action.class \
    com/sun/security/auth/callback/DialogCallbackHandler$$ConfirmationInfo.class \
    com/sun/security/auth/callback/DialogCallbackHandler.class \
A
alanb 已提交
157 158 159
    javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \
    javax/management/remote/rmi/_RMIConnection_Stub.class \
    javax/management/remote/rmi/_RMIServerImpl_Tie.class \
160
    javax/management/remote/rmi/_RMIServer_Stub.class
A
alanb 已提交
161

162 163
FULL_JRE_RTJAR_INCLUDE_PACKAGES := \
    com/oracle \
A
alanb 已提交
164 165 166 167
    com/sun/accessibility/internal/resources \
    com/sun/activation/registries \
    com/sun/awt \
    com/sun/beans \
168
    com/sun/corba \
A
alanb 已提交
169
    com/sun/image/codec/jpeg \
170 171 172
    com/sun/imageio \
    com/sun/istack \
    com/sun/java/browser \
A
alanb 已提交
173 174 175 176 177 178 179 180
    com/sun/java/swing \
    com/sun/jmx/remote/protocol/iiop \
    com/sun/jndi/cosnaming \
    com/sun/jndi/toolkit/corba \
    com/sun/jndi/url/corbaname \
    com/sun/jndi/url/iiop \
    com/sun/jndi/url/iiopname \
    com/sun/media/sound \
181 182 183
    com/sun/org/glassfish \
    com/sun/org/omg \
    com/sun/swing \
A
alanb 已提交
184 185
    com/sun/xml/internal/bind \
    com/sun/xml/internal/fastinfoset \
186 187
    com/sun/xml/internal/messaging \
    com/sun/xml/internal/org \
A
alanb 已提交
188 189
    com/sun/xml/internal/stream/buffer \
    com/sun/xml/internal/txw2 \
190
    com/sun/xml/internal/ws \
A
alanb 已提交
191 192 193 194 195 196 197 198 199 200
    java/applet \
    java/awt \
    java/beans \
    javax/accessibility \
    javax/activation \
    javax/activity \
    javax/imageio \
    javax/jws \
    javax/print \
    javax/rmi/CORBA \
201
    javax/sound \
A
alanb 已提交
202 203 204 205
    javax/swing \
    javax/xml/bind \
    javax/xml/soap \
    javax/xml/ws \
206
    org/omg \
A
alanb 已提交
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
    sun/applet \
    sun/audio \
    sun/awt \
    sun/corba \
    sun/dc \
    sun/font \
    sun/java2d \
    sun/net/ftp \
    sun/net/smtp \
    sun/net/www/content/audio \
    sun/net/www/content/image \
    sun/net/www/content/text \
    sun/net/www/protocol/ftp \
    sun/net/www/protocol/mailto \
    sun/net/www/protocol/netdoc \
    sun/print \
    sun/security/tools/policytool \
    sun/swing \
225
    sun/tools/jar
A
alanb 已提交
226

227 228 229 230 231 232
FULL_JRE_RTJAR_INCLUDE_TYPES := \
    com/sun/security/auth/callback/DialogCallbackHandler$$1.class \
    com/sun/security/auth/callback/DialogCallbackHandler$$2.class \
    com/sun/security/auth/callback/DialogCallbackHandler$$Action.class \
    com/sun/security/auth/callback/DialogCallbackHandler$$ConfirmationInfo.class \
    com/sun/security/auth/callback/DialogCallbackHandler.class \
A
alanb 已提交
233
    javax/annotation/*.class \
234 235 236 237
    javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \
    javax/management/remote/rmi/_RMIConnection_Stub.class \
    javax/management/remote/rmi/_RMIServerImpl_Tie.class \
    javax/management/remote/rmi/_RMIServer_Stub.class \
A
alanb 已提交
238 239
    javax/rmi/*.class

240
FULL_JRE_RTJAR_EXCLUDE_TYPES :=
A
alanb 已提交
241

242
FULL_JRE_INCLUDE_METAINF_SERVICES := \
243 244 245 246 247 248 249 250 251 252 253 254 255 256
    META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin \
    META-INF/services/com.sun.tools.internal.xjc.Plugin \
    META-INF/services/javax.print.PrintServiceLookup \
    META-INF/services/javax.print.StreamPrintServiceFactory \
    META-INF/services/javax.sound.midi.spi.MidiDeviceProvider \
    META-INF/services/javax.sound.midi.spi.MidiFileReader \
    META-INF/services/javax.sound.midi.spi.MidiFileWriter \
    META-INF/services/javax.sound.midi.spi.SoundbankReader \
    META-INF/services/javax.sound.sampled.spi.AudioFileReader \
    META-INF/services/javax.sound.sampled.spi.AudioFileWriter \
    META-INF/services/javax.sound.sampled.spi.FormatConversionProvider \
    META-INF/services/javax.sound.sampled.spi.MixerProvider \
    META-INF/services/sun.java2d.cmm.PCMM \
    META-INF/services/sun.java2d.pipe.RenderingEngine