4524
|
1 |
/*
|
|
2 |
* Copyright 2009 Sun Microsystems, Inc. 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.
|
|
8 |
*
|
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that
|
|
13 |
* accompanied this code).
|
|
14 |
*
|
|
15 |
* You should have received a copy of the GNU General Public License version
|
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
18 |
*
|
|
19 |
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
20 |
* CA 95054 USA or visit www.sun.com if you need additional information or
|
|
21 |
* have any questions.
|
|
22 |
*/
|
|
23 |
|
|
24 |
// These classes are not referenced in the JDK but we can't
|
|
25 |
// remove them for compatibility reason. Define this module
|
|
26 |
// first so that other modules don't need to exclude these clases
|
|
27 |
module private-legacy {
|
|
28 |
include sun.misc.Cache*,
|
|
29 |
sun.misc.ClassLoaderUtil,
|
|
30 |
sun.misc.Compare,
|
|
31 |
sun.misc.ConditionLock,
|
|
32 |
sun.misc.CRC16,
|
|
33 |
sun.misc.Lock,
|
|
34 |
sun.misc.Regexp,
|
|
35 |
sun.misc.RequestProcessor,
|
|
36 |
sun.misc.Sort,
|
|
37 |
sun.misc.Request,
|
|
38 |
sun.misc.Timeable,
|
|
39 |
sun.misc.Timer,
|
|
40 |
sun.misc.TimerThread,
|
|
41 |
sun.misc.TimerTickThread,
|
|
42 |
sun.misc.UCDecoder,
|
|
43 |
sun.misc.UCEncoder,
|
|
44 |
sun.misc.UUDecoder,
|
|
45 |
sun.misc.UUEncoder,
|
|
46 |
com.sun.net.ssl.SSLContext,
|
|
47 |
sun.net.NetworkServer,
|
|
48 |
sun.net.URLCanonicalizer,
|
|
49 |
sun.reflect.misc.ConstructorUtil,
|
|
50 |
sun.reflect.FieldInfo,
|
|
51 |
sun.reflect.SignatureIterator,
|
|
52 |
sun.reflect.generics.reflectiveObjects.NotImplementedException,
|
|
53 |
sunw.io.Serializable,
|
|
54 |
sunw.util.EventListener,
|
|
55 |
sunw.util.EventObject;
|
|
56 |
}
|
|
57 |
|
|
58 |
// Deprecated classes that aren't referenced/used go here.
|
|
59 |
module deprecated {
|
|
60 |
// add deprecated security classes once b78 is promoted
|
|
61 |
}
|
|
62 |
|
|
63 |
/**************************************************************************/
|
|
64 |
|
|
65 |
module base {
|
|
66 |
// core classes
|
|
67 |
include java.lang.*,
|
|
68 |
java.lang.annotation.*,
|
|
69 |
java.lang.ref.*,
|
|
70 |
java.lang.reflect.*,
|
|
71 |
java.math.*,
|
|
72 |
java.net.*,
|
|
73 |
java.util.*,
|
|
74 |
java.util.concurrent.**,
|
|
75 |
java.util.jar.*,
|
|
76 |
java.util.regex.*,
|
|
77 |
java.util.spi.*,
|
|
78 |
java.util.zip.*,
|
|
79 |
java.text.**;
|
|
80 |
|
|
81 |
exclude java.util.jar.Pack200*,
|
|
82 |
java.util.XMLUtils,
|
|
83 |
java.text.Bidi;
|
|
84 |
|
|
85 |
include java.io.*, java.nio.*, java.nio.charset.**;
|
|
86 |
exclude java.io.TempFileHelper, java.nio.BufferPoolMXBean;
|
|
87 |
|
|
88 |
// security APIs
|
|
89 |
// javax.crypto and javax.security.auth are included to avoid inconsistent
|
|
90 |
// spliting of JCA and JAAS. This adds about 85k. Also note that some deprecated
|
|
91 |
// classes must be included for now (see 6876158, 6876170)
|
|
92 |
include java.security.*,
|
|
93 |
java.security.cert.*,
|
|
94 |
java.security.interfaces.*,
|
|
95 |
java.security.spec.*,
|
|
96 |
javax.security.auth.**,
|
|
97 |
javax.crypto.**;
|
|
98 |
|
|
99 |
// Sun and RSA security providers (except LDAP CertStore)
|
|
100 |
// roots sun.security.provider.* sun.security.provider.certpath.* sun.security.rsa.*
|
|
101 |
include com.sun.security.auth.PrincipalComparator,
|
|
102 |
com.sun.security.auth.SubjectCodeSource,
|
|
103 |
com.sun.security.auth.login.**,
|
|
104 |
com.sun.security.auth.Policy*,
|
|
105 |
sun.security.action.*,
|
|
106 |
sun.security.ec.*,
|
|
107 |
sun.security.jca.*,
|
|
108 |
sun.security.pkcs.*,
|
|
109 |
sun.security.provider.*,
|
|
110 |
sun.security.provider.certpath.*,
|
|
111 |
sun.security.rsa.*,
|
|
112 |
sun.security.util.*,
|
|
113 |
sun.security.validator.*,
|
|
114 |
sun.security.x509.*,
|
|
115 |
sun.security.timestamp.*;
|
|
116 |
|
|
117 |
// this list is based on the classlist generated from the rootset
|
|
118 |
// need investigation
|
|
119 |
exclude sun.security.ec.ECD*,
|
|
120 |
sun.security.ec.ECKeyPairGenerator,
|
|
121 |
sun.security.ec.SunEC*,
|
|
122 |
sun.security.pkcs.PKCS10*,
|
|
123 |
sun.security.pkcs.EncodingException,
|
|
124 |
sun.security.util.AuthResources_*,
|
|
125 |
sun.security.util.Resources_*,
|
|
126 |
sun.security.util.BigInt,
|
|
127 |
sun.security.util.HostnameChecker,
|
|
128 |
sun.security.x509.CertAndKeyGen,
|
|
129 |
sun.security.util.PathList;
|
|
130 |
|
|
131 |
// Kerberos not needed
|
|
132 |
exclude javax.security.auth.kerberos.**,
|
|
133 |
sun.security.jgss.**,
|
|
134 |
sun.security.krb5.**,
|
|
135 |
sun.security.ssl.Kerberos*,
|
|
136 |
org.ietf.jgss.**;
|
|
137 |
|
|
138 |
// property events and annotations
|
|
139 |
include java.beans.ChangeListenerMap,
|
|
140 |
java.beans.IndexedPropertyChangeEvent,
|
|
141 |
java.beans.PropertyChange*,
|
|
142 |
java.beans.PropertyVetoException,
|
|
143 |
java.beans.VetoableChange*,
|
|
144 |
java.beans.ConstructorProperties;
|
|
145 |
|
|
146 |
// mandatory charsets
|
|
147 |
include sun.nio.cs.*;
|
|
148 |
|
|
149 |
exclude sun.nio.cs.AbstractCharsetProvider,
|
|
150 |
sun.nio.cs.CharsetMapping,
|
|
151 |
sun.nio.cs.IBM*,
|
|
152 |
sun.nio.cs.ISO*,
|
|
153 |
sun.nio.cs.KOI8_*,
|
|
154 |
sun.nio.cs.MS125*,
|
|
155 |
sun.nio.cs.UTF_32*,
|
|
156 |
sun.nio.cs.SingleByteDecoder,
|
|
157 |
sun.nio.cs.SingleByteEncoder;
|
|
158 |
|
|
159 |
allow sun.nio.cs.ISO_8859_1,
|
|
160 |
sun.nio.cs.ISO_8859_15,
|
|
161 |
sun.nio.cs.MS1252;
|
|
162 |
|
|
163 |
include sun.text.*,
|
|
164 |
sun.text.normalizer.*;
|
|
165 |
|
|
166 |
// resource files
|
|
167 |
include sun/text/resources/*.icu;
|
|
168 |
|
|
169 |
exclude sun.text.bidi.*,
|
|
170 |
sun.text.CharArrayCodePointIterator,
|
|
171 |
sun.text.CharSequenceCodePointIterator,
|
|
172 |
sun.text.CharacterIteratorCodePointIterator,
|
|
173 |
sun.text.CodePointIterator;
|
|
174 |
|
|
175 |
include sun.util.*,
|
|
176 |
sun.util.calendar.*,
|
|
177 |
sun.util.logging.*,
|
|
178 |
sun.util.resources.LocaleData,
|
|
179 |
sun.util.resources.LocaleNamesBundle,
|
|
180 |
sun.util.resources.OpenListResourceBundle;
|
|
181 |
|
|
182 |
// US_en locale
|
|
183 |
include sun.text.resources.BreakIteratorInfo,
|
|
184 |
sun.text.resources.FormatData,
|
|
185 |
sun.text.resources.FormatData_en_US,
|
|
186 |
sun.util.resources.CalendarData,
|
|
187 |
sun.util.resources.CalendarData_en,
|
|
188 |
sun.util.resources.TimeZoneNames,
|
|
189 |
sun.util.resources.TimeZoneNames_en,
|
|
190 |
sun.util.resources.TimeZoneNamesBundle,
|
|
191 |
sun.util.resources.LocaleNames,
|
|
192 |
sun.util.resources.LocaleNames_en,
|
|
193 |
sun.util.resources.LocalenamesBundles,
|
|
194 |
sun.util.resources.CurrencyNames,
|
|
195 |
sun.util.resources.CurrencyNames_en_US,
|
|
196 |
sun.util.EmptyListResourceBundle;
|
|
197 |
|
|
198 |
// resources file needed by
|
|
199 |
// - sun.misc.ExtensionInfo
|
|
200 |
// - sun.security.provider.PolicyFile
|
|
201 |
// - com.sun.security.auth.PolicyFile
|
|
202 |
include sun.misc.resources.Messages,
|
|
203 |
sun.security.util.Resources,
|
|
204 |
sun.security.util.AuthResources;
|
|
205 |
|
|
206 |
// java.nio.channels and java.nio.file not in base
|
|
207 |
include sun.nio.ch.Interruptible,
|
|
208 |
sun.nio.ch.DirectBuffer,
|
|
209 |
sun.nio.ByteBuffered;
|
|
210 |
|
|
211 |
include sun.reflect.**;
|
|
212 |
|
|
213 |
// protocol handlers
|
|
214 |
include sun.net.www.protocol.file.*,
|
|
215 |
sun.net.www.protocol.jar.*,
|
|
216 |
sun.net.www.protocol.http.*;
|
|
217 |
|
|
218 |
include sun.net.*,
|
|
219 |
sun.net.spi.*,
|
|
220 |
sun.net.idn.*,
|
|
221 |
sun.net.util.*,
|
|
222 |
sun.net.www.*,
|
|
223 |
sun.net.www.http.*,
|
|
224 |
sun.net.spi.nameservice.*;
|
|
225 |
|
|
226 |
// resource file for sun.net.idn
|
|
227 |
include sun/net/idn/*;
|
|
228 |
|
|
229 |
// classes in net-compat
|
|
230 |
exclude sun.net.Telnet*, sun.net.TransferProtocolClient;
|
|
231 |
|
|
232 |
// classes in deploy
|
|
233 |
exclude sun.net.www.protocol.http.AuthCacheBridge;
|
|
234 |
|
|
235 |
// classes in security-jsse
|
|
236 |
exclude java.net.SecureCacheResponse;
|
|
237 |
|
|
238 |
// launcher
|
|
239 |
include sun.launcher.LauncherHelper, sun.launcher.resources.launcher;
|
|
240 |
|
|
241 |
include sun.misc.*;
|
|
242 |
exclude sun.misc.FIFOQueueEnumerator,
|
|
243 |
sun.misc.LIFOQueueEnumerator,
|
|
244 |
sun.misc.GC,
|
|
245 |
sun.misc.PerformanceLogger,
|
|
246 |
sun.misc.Queue,
|
|
247 |
sun.misc.QueueElement,
|
|
248 |
sun.misc.Ref,
|
|
249 |
sun.misc.VMSupport;
|
|
250 |
|
|
251 |
// On Windows, OSEnvironment dependency
|
|
252 |
include sun.io.Win32ErrorMode;
|
|
253 |
}
|
|
254 |
|
|
255 |
/**************************************************************************/
|
|
256 |
|
|
257 |
module charsets {
|
|
258 |
include sun.nio.cs.ext.**;
|
|
259 |
|
|
260 |
include sun.nio.cs.AbstractCharsetProvider,
|
|
261 |
sun.nio.cs.CharsetMapping,
|
|
262 |
sun.nio.cs.IBM*,
|
|
263 |
sun.nio.cs.ISO*,
|
|
264 |
sun.nio.cs.KOI8_*,
|
|
265 |
sun.nio.cs.MS125*,
|
|
266 |
sun.nio.cs.SingleByte*,
|
|
267 |
sun.nio.cs.UTF_32*;
|
|
268 |
|
|
269 |
exclude sun.nio.cs.ISO_8859_1,
|
|
270 |
sun.nio.cs.MS1252;
|
|
271 |
|
|
272 |
// legacy sun.io converters
|
|
273 |
include sun.io.*;
|
|
274 |
}
|
|
275 |
|
|
276 |
/**************************************************************************/
|
|
277 |
|
|
278 |
// For now, retains the current JRE extensions where localedata.jar in jre/lib/ext
|
|
279 |
module localedata {
|
|
280 |
include sun.util.resources.*_ar,
|
|
281 |
sun.util.resources.*_ar_*,
|
|
282 |
sun.util.resources.*_hi,
|
|
283 |
sun.util.resources.*_hi_*,
|
|
284 |
sun.util.resources.*_iw,
|
|
285 |
sun.util.resources.*_iw_*,
|
|
286 |
sun.util.resources.*_ja,
|
|
287 |
sun.util.resources.*_ja_*,
|
|
288 |
sun.util.resources.*_ko,
|
|
289 |
sun.util.resources.*_ko_*,
|
|
290 |
sun.util.resources.*_th,
|
|
291 |
sun.util.resources.*_th_*,
|
|
292 |
sun.util.resources.*_vi,
|
|
293 |
sun.util.resources.*_vi_*,
|
|
294 |
sun.util.resources.*_zh,
|
|
295 |
sun.util.resources.*_zh_*;
|
|
296 |
include sun.text.resources.*_ar,
|
|
297 |
sun.text.resources.*_ar_*,
|
|
298 |
sun.text.resources.*_hi,
|
|
299 |
sun.text.resources.*_hi_*,
|
|
300 |
sun.text.resources.*_iw,
|
|
301 |
sun.text.resources.*_iw_*,
|
|
302 |
sun.text.resources.*_ja,
|
|
303 |
sun.text.resources.*_ja_*,
|
|
304 |
sun.text.resources.*_ko,
|
|
305 |
sun.text.resources.*_ko_*,
|
|
306 |
sun.text.resources.*_th,
|
|
307 |
sun.text.resources.*_th_*,
|
|
308 |
sun.text.resources.*_vi,
|
|
309 |
sun.text.resources.*_vi_*,
|
|
310 |
sun.text.resources.*_zh,
|
|
311 |
sun.text.resources.*_zh_*;
|
|
312 |
}
|
|
313 |
|
|
314 |
module resources {
|
|
315 |
include sun.text.resources.*, sun.util.resources.*, sun.misc.resources.*;
|
|
316 |
}
|
|
317 |
|
|
318 |
/**************************************************************************/
|
|
319 |
|
|
320 |
module nio {
|
|
321 |
include java.nio.channels.**, java.nio.file.**, com.sun.nio.file.**;
|
|
322 |
|
|
323 |
// this is excluded from base
|
|
324 |
include java.io.TempFileHelper;
|
|
325 |
|
|
326 |
// provider implementations and their dependencies
|
|
327 |
include sun.nio.ch.*, sun.nio.fs.**;
|
|
328 |
exclude sun.nio.ch.Sctp*;
|
|
329 |
}
|
|
330 |
|
|
331 |
/**************************************************************************/
|
|
332 |
|
|
333 |
module pack200 {
|
|
334 |
include java.util.jar.Pack200*, com.sun.java.util.jar.pack.**;
|
|
335 |
}
|
|
336 |
|
|
337 |
/**************************************************************************/
|
|
338 |
|
|
339 |
module logging {
|
|
340 |
include java.util.logging.*, sun.util.logging.**;
|
|
341 |
exclude java.util.logging.PlatformLoggingMXBean;
|
|
342 |
|
|
343 |
// Formatter for HTTP messages
|
|
344 |
include sun.net.www.protocol.http.logging.*;
|
|
345 |
}
|
|
346 |
|
|
347 |
/**************************************************************************/
|
|
348 |
|
|
349 |
module management-snmp {
|
|
350 |
include com.sun.jmx.snmp.**, sun.management.snmp.**;
|
|
351 |
}
|
|
352 |
|
|
353 |
module management-iiop {
|
|
354 |
include com.sun.jmx.remote.protocol.iiop.*;
|
|
355 |
|
|
356 |
// stubs and ties
|
|
357 |
include javax.management.remote.rmi._*,
|
|
358 |
org.omg.stub.javax.management.remote.rmi.**;
|
|
359 |
}
|
|
360 |
|
|
361 |
module management {
|
|
362 |
include java.lang.management.*, com.sun.management.**, sun.management.**;
|
|
363 |
include javax.management.**, com.sun.jmx.**;
|
|
364 |
|
|
365 |
// other management interfaces
|
|
366 |
include java.nio.BufferPoolMXBean;
|
|
367 |
include java.util.logging.PlatformLoggingMXBean;
|
|
368 |
|
|
369 |
// supporting classes in sun.misc
|
|
370 |
include sun.misc.VMSupport;
|
|
371 |
}
|
|
372 |
|
|
373 |
/**************************************************************************/
|
|
374 |
|
|
375 |
module instrument {
|
|
376 |
// java.lang.instrument
|
|
377 |
include java.lang.instrument.*, sun.instrument.*;
|
|
378 |
|
|
379 |
// tracing
|
|
380 |
include com.sun.tracing.**, sun.tracing.**;
|
|
381 |
|
|
382 |
// HPROF support
|
|
383 |
include com.sun.demo.jvmti.hprof.*;
|
|
384 |
}
|
|
385 |
|
|
386 |
/**************************************************************************/
|
|
387 |
|
|
388 |
module rmi-activation {
|
|
389 |
include java.rmi.activation.**,
|
|
390 |
sun.rmi.server.Act*,
|
|
391 |
sun.rmi.server.InactiveGroupException;
|
|
392 |
}
|
|
393 |
|
|
394 |
module rmi {
|
|
395 |
include java.rmi.**, sun.rmi.**, com.sun.rmi.**;
|
|
396 |
|
|
397 |
// SSL factories are in rmi
|
|
398 |
include javax.rmi.ssl.**;
|
|
399 |
|
|
400 |
// rmic is in tools
|
|
401 |
exclude sun.rmi.rmic.**;
|
|
402 |
|
|
403 |
// supporting classes in sun.misc and dependencies
|
|
404 |
include sun.misc.GC;
|
|
405 |
}
|
|
406 |
|
|
407 |
/**************************************************************************/
|
|
408 |
|
|
409 |
module prefs {
|
|
410 |
include java.util.prefs.*;
|
|
411 |
}
|
|
412 |
|
|
413 |
/**************************************************************************/
|
|
414 |
|
|
415 |
module security-jsse {
|
|
416 |
include javax.net.**,
|
|
417 |
javax.security.cert.*,
|
|
418 |
java.net.SecureCacheResponse,
|
|
419 |
com.sun.net.ssl.**,
|
|
420 |
com.sun.security.cert.internal.x509.*,
|
|
421 |
sun.security.ssl.*,
|
|
422 |
sun.net.www.protocol.https.**,
|
|
423 |
sun.security.internal.interfaces.Tls*,
|
|
424 |
sun.security.internal.spec.Tls*,
|
|
425 |
sun.security.util.HostnameChecker;
|
|
426 |
}
|
|
427 |
|
|
428 |
module security-sunpkcs11 {
|
|
429 |
include sun.security.pkcs11.**;
|
|
430 |
}
|
|
431 |
|
|
432 |
module security-sunjce {
|
|
433 |
include com.sun.crypto.provider.*;
|
|
434 |
}
|
|
435 |
|
|
436 |
module security-sunec {
|
|
437 |
include sun.security.ec.*;
|
|
438 |
}
|
|
439 |
|
|
440 |
module security-sunmscapi {
|
|
441 |
include sun.security.mscapi.*;
|
|
442 |
}
|
|
443 |
|
|
444 |
module security-kerberos {
|
|
445 |
include javax.security.auth.kerberos.*,
|
|
446 |
com.sun.security.jgss.**,
|
|
447 |
com.sun.security.auth.module.Krb5LoginModule,
|
|
448 |
com.sun.security.sasl.gsskerb.**, // GSSAPI SASL mechanism
|
|
449 |
sun.security.jgss.**,
|
|
450 |
sun.security.ssl.krb5.**,
|
|
451 |
sun.security.krb5.**,
|
|
452 |
org.ietf.jgss.**,
|
|
453 |
sun.net.www.protocol.http.spnego.*;
|
|
454 |
}
|
|
455 |
|
|
456 |
module security-sasl {
|
|
457 |
include javax.security.sasl.**,
|
|
458 |
com.sun.security.sasl.**;
|
|
459 |
}
|
|
460 |
|
|
461 |
module security-xmldsig {
|
|
462 |
include javax.xml.crypto.**,
|
|
463 |
org.jcp.xml.dsig.**,
|
|
464 |
com.sun.org.apache.xml.internal.security.**;
|
|
465 |
}
|
|
466 |
|
|
467 |
module security-smartcardio {
|
|
468 |
include javax.smartcardio.**, sun.security.smartcardio.**;
|
|
469 |
}
|
|
470 |
|
|
471 |
module security-misc {
|
|
472 |
include com.sun.security.auth.**, sun.security.util.AuthResources_*,
|
|
473 |
sun.security.pkcs.*,
|
|
474 |
sun.security.pkcs12.*;
|
|
475 |
|
|
476 |
// this class is a candidate to be removed.
|
|
477 |
include sun.security.util.BigInt;
|
|
478 |
}
|
|
479 |
|
|
480 |
module security-resources {
|
|
481 |
include sun.security.util.Resources_*;
|
|
482 |
}
|
|
483 |
|
|
484 |
module security-compat {
|
|
485 |
include java.security.acl.*, sun.security.acl.*;
|
|
486 |
}
|
|
487 |
|
|
488 |
/**************************************************************************/
|
|
489 |
|
|
490 |
module jndi-ldap {
|
|
491 |
include javax.naming.ldap.**,
|
|
492 |
com.sun.jndi.ldap.**,
|
|
493 |
com.sun.jndi.url.ldap.*,
|
|
494 |
com.sun.jndi.url.ldaps.*,
|
|
495 |
sun.security.provider.certpath.ldap.**;
|
|
496 |
}
|
|
497 |
|
|
498 |
module jndi-rmiregistry {
|
|
499 |
include com.sun.jndi.rmi.**, com.sun.jndi.url.rmi.**;
|
|
500 |
}
|
|
501 |
|
|
502 |
module jndi-dns {
|
|
503 |
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 |
}
|
|
507 |
|
|
508 |
module jndi-cosnaming {
|
|
509 |
include com.sun.jndi.cosnaming.**,
|
|
510 |
com.sun.jndi.toolkit.corba.**,
|
|
511 |
com.sun.jndi.url.corbaname.**,
|
|
512 |
com.sun.jndi.url.iiop.**,
|
|
513 |
com.sun.jndi.url.iiopname.**;
|
|
514 |
}
|
|
515 |
|
|
516 |
// framework/API and classes used by providers
|
|
517 |
module jndi {
|
|
518 |
include javax.naming.**,
|
|
519 |
com.sun.naming.**,
|
|
520 |
com.sun.jndi.toolkit.ctx.**,
|
|
521 |
com.sun.jndi.toolkit.dir.**,
|
|
522 |
com.sun.jndi.toolkit.url.**;
|
|
523 |
}
|
|
524 |
|
|
525 |
/**************************************************************************/
|
|
526 |
|
|
527 |
module jdbc-base {
|
|
528 |
include java.sql.**, javax.sql.*;
|
|
529 |
exclude javax.sql.XA*;
|
|
530 |
}
|
|
531 |
|
|
532 |
module jdbc-enterprise {
|
|
533 |
include javax.sql.**, com.sun.rowset.**;
|
|
534 |
}
|
|
535 |
|
|
536 |
module jdbc-odbc {
|
|
537 |
include sun.jdbc.odbc.**;
|
|
538 |
}
|
|
539 |
|
|
540 |
/**************************************************************************/
|
|
541 |
|
|
542 |
module scripting {
|
|
543 |
include javax.script.**;
|
|
544 |
|
|
545 |
// supporting classes for scripting engines
|
|
546 |
include com.sun.script.util.**;
|
|
547 |
}
|
|
548 |
|
|
549 |
module scripting-rhino {
|
|
550 |
include com.sun.script.javascript.**, sun.org.mozilla.javascript.**;
|
|
551 |
}
|
|
552 |
|
|
553 |
/**************************************************************************/
|
|
554 |
|
|
555 |
module httpserver {
|
|
556 |
include com.sun.net.httpserver.**, sun.net.httpserver.**;
|
|
557 |
}
|
|
558 |
|
|
559 |
/**************************************************************************/
|
|
560 |
|
|
561 |
module sctp {
|
|
562 |
// API and dependencies
|
|
563 |
include com.sun.nio.sctp.**, sun.nio.ch.Sctp*;
|
|
564 |
}
|
|
565 |
|
|
566 |
/**************************************************************************/
|
|
567 |
|
|
568 |
module langtools {
|
|
569 |
include javax.tools.**, javax.lang.model.**, javax.annotation.processing.**;
|
|
570 |
|
|
571 |
// include mirror API for now
|
|
572 |
include com.sun.mirror.**;
|
|
573 |
|
|
574 |
// include the JSR292 APIs for now
|
|
575 |
include java.dyn.**, sun.dyn.**;
|
|
576 |
}
|
|
577 |
|
|
578 |
/**************************************************************************/
|
|
579 |
|
|
580 |
module beans {
|
|
581 |
include java.beans.**, com.sun.beans.**, sun.beans.**;
|
|
582 |
}
|
|
583 |
|
|
584 |
/**************************************************************************/
|
|
585 |
|
|
586 |
module jaxp-parsers-api {
|
|
587 |
include javax.xml.*, javax.xml.parsers.**,
|
|
588 |
org.w3c.dom.**, org.w3c.sax.**, org.xml.sax.**;
|
|
589 |
}
|
|
590 |
|
|
591 |
module jaxp-api {
|
|
592 |
include javax.xml.**;
|
|
593 |
exclude javax.xml.crypto.**, // XML-DSIG
|
|
594 |
javax.xml.bind.**, // JAX-WS
|
|
595 |
javax.xml.soap.**,
|
|
596 |
javax.xml.ws.**;
|
|
597 |
}
|
|
598 |
|
|
599 |
module jaxp-xerces-impl {
|
|
600 |
include com.sun.org.apache.xerces.internal.**;
|
|
601 |
|
|
602 |
// include in xerces-impl due to circular dependencies
|
|
603 |
include com.sun.org.apache.xml.internal.serialize.**,
|
|
604 |
com.sun.xml.internal.stream.**;
|
|
605 |
exclude com.sun.xml.internal.stream.buffer.**; // JAX-WS
|
|
606 |
}
|
|
607 |
|
|
608 |
// required by Xerces and JAX-WS
|
|
609 |
module jaxp-xerces-resolver {
|
|
610 |
include com.sun.org.apache.xml.internal.resolver.**;
|
|
611 |
}
|
|
612 |
|
|
613 |
module jaxp-xalan {
|
|
614 |
include com.sun.org.apache.xalan.internal.**,
|
|
615 |
com.sun.org.apache.xpath.internal.**,
|
|
616 |
com.sun.org.apache.xml.internal.dtm.**,
|
|
617 |
com.sun.org.apache.xml.internal.res.**,
|
|
618 |
com.sun.org.apache.xml.internal.serializer.**,
|
|
619 |
com.sun.org.apache.xml.internal.utils.**,
|
|
620 |
com.sun.org.apache.bcel.internal.**,
|
|
621 |
com.sun.org.apache.regexp.internal.**,
|
|
622 |
com.sun.java_cup.internal.**;
|
|
623 |
}
|
|
624 |
|
|
625 |
/**************************************************************************/
|
|
626 |
|
|
627 |
module jaxws-tools {
|
|
628 |
include com.sun.codemodel.**,
|
|
629 |
com.sun.xml.internal.dtdparser.**,
|
|
630 |
com.sun.xml.internal.rngom.**,
|
|
631 |
com.sun.xml.internal.xsom.**,
|
|
632 |
com.sun.istack.internal.tools.**,
|
|
633 |
com.sun.istack.internal.ws.**,
|
|
634 |
com.sun.tools.internal.xjc.**,
|
|
635 |
com.sun.tools.internal.ws.**,
|
|
636 |
com.sun.tools.internal.jxc.**,
|
|
637 |
org.relaxng.datatype.**;
|
|
638 |
}
|
|
639 |
|
|
640 |
module jaxws {
|
|
641 |
include javax.jws.**,
|
|
642 |
javax.xml.bind.**,
|
|
643 |
javax.xml.soap.**,
|
|
644 |
javax.xml.ws.**,
|
|
645 |
org.relaxng.**,
|
|
646 |
com.sun.istack.internal.*,
|
|
647 |
com.sun.istack.internal.localization.*,
|
|
648 |
com.sun.xml.internal.**;
|
|
649 |
|
|
650 |
// include JAF in this module
|
|
651 |
include javax.activation.**, com.sun.activation.**;
|
|
652 |
|
|
653 |
include META-INF/mailcap.default,
|
|
654 |
META-INF/mimetypes.default;
|
|
655 |
}
|
|
656 |
|
|
657 |
/**************************************************************************/
|
|
658 |
module enterprise-base {
|
|
659 |
include javax.transaction.**, // JTA
|
|
660 |
javax.annotation.*; // Common annotations (JSR-250)
|
|
661 |
}
|
|
662 |
|
|
663 |
/**************************************************************************/
|
|
664 |
module corba {
|
|
665 |
include javax.activity.**,
|
|
666 |
javax.rmi.*,
|
|
667 |
javax.rmi.CORBA.*,
|
|
668 |
javax.transaction.**,
|
|
669 |
com.sun.corba.**,
|
|
670 |
com.sun.org.omg.**,
|
|
671 |
org.omg.**,
|
|
672 |
sun.corba.**;
|
|
673 |
|
|
674 |
// JMX remote API
|
|
675 |
exclude org.omg.stub.javax.management.**;
|
|
676 |
}
|
|
677 |
|
|
678 |
/**************************************************************************/
|
|
679 |
|
|
680 |
module client {
|
|
681 |
include java.applet.**,
|
|
682 |
java.awt.**,
|
|
683 |
javax.accessibility.*,
|
|
684 |
javax.imageio.**,
|
|
685 |
javax.print.**,
|
|
686 |
javax.sound.**,
|
|
687 |
javax.swing.**,
|
|
688 |
sun.applet.**,
|
|
689 |
sun.audio.**,
|
|
690 |
sun.awt.**,
|
|
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 |
|
|
706 |
// Bidi class in client module for now
|
|
707 |
include java.text.Bidi, sun.text.bidi.*;
|
|
708 |
|
|
709 |
// PerformanceLogger and dependencies
|
|
710 |
include sun.misc.Ref, sun.misc.PerformanceLogger;
|
|
711 |
|
|
712 |
// misc. dependencies that we need to examine
|
|
713 |
include sun.text.CodePointIterator,
|
|
714 |
sun.text.Char*,
|
|
715 |
sun.misc.Queue*,
|
|
716 |
sun.misc.FIFOQueueEnumerator,
|
|
717 |
sun.misc.LIFOQueueEnumerator;
|
|
718 |
|
|
719 |
// content handlers
|
|
720 |
include sun.net.www.content.audio.**,
|
|
721 |
sun.net.www.content.image.**;
|
|
722 |
}
|
|
723 |
|
|
724 |
/**************************************************************************/
|
|
725 |
|
|
726 |
module deploy {
|
|
727 |
// For now, all plugin and JNLP
|
|
728 |
include com.sun.java.browser.**,
|
|
729 |
netscape.**,
|
|
730 |
sun.plugin.**,
|
|
731 |
sun.plugin2.**,,
|
|
732 |
com.sun.deploy.**,
|
|
733 |
com.sun.javaws.**,
|
|
734 |
javax.jnlp.*,
|
|
735 |
com.sun.jnlp.*,
|
|
736 |
sun.jkernel.*;
|
|
737 |
|
|
738 |
// Hook for http authentication
|
|
739 |
include sun.net.www.protocol.http.AuthCacheBridge;
|
|
740 |
}
|
|
741 |
|
|
742 |
/**************************************************************************/
|
|
743 |
|
|
744 |
module net-compat {
|
|
745 |
// NTLM authentication support
|
|
746 |
include sun.net.www.protocol.http.ntlm.*;
|
|
747 |
|
|
748 |
// ftp and mail clients
|
|
749 |
include sun.net.ftp.**, sun.net.smtp.**;
|
|
750 |
|
|
751 |
// Legacy protocol handlers
|
|
752 |
include sun.net.www.protocol.**;
|
|
753 |
|
|
754 |
// Legacy content handlers
|
|
755 |
include sun.net.www.content.**;
|
|
756 |
|
|
757 |
include sun.net.Telnet*,
|
|
758 |
sun.net.TransferProtocolClient;
|
|
759 |
}
|
|
760 |
|
|
761 |
/**************************************************************************/
|
|
762 |
|
|
763 |
// jar-tool and security-tools are JRE tools
|
|
764 |
module jar-tool {
|
|
765 |
include sun.tools.jar.**;
|
|
766 |
}
|
|
767 |
|
|
768 |
module security-tools {
|
|
769 |
include sun.security.tools.**;
|
|
770 |
|
|
771 |
// Used by security tools
|
|
772 |
include sun.security.util.PathList, sun.security.x509.CertAndKeyGen;
|
|
773 |
|
|
774 |
exclude sun.security.tools.JarBASE64Encoder,
|
|
775 |
sun.security.tools.JarSigner,
|
|
776 |
sun.security.tools.JarSignerParameters,
|
|
777 |
sun.security.tools.JarSignerResources*,
|
|
778 |
sun.security.tools.SignatureFile,
|
|
779 |
sun.security.tools.TimestampedSigner;
|
|
780 |
}
|
|
781 |
|
|
782 |
module jconsole {
|
|
783 |
include sun.tools.jconsole.**,
|
|
784 |
com.sun.tools.jconsole.*;
|
|
785 |
}
|
|
786 |
|
|
787 |
module serialver {
|
|
788 |
include sun.tools.serialver.**;
|
|
789 |
}
|
|
790 |
|
|
791 |
module gui-tools {
|
|
792 |
include jconsole,
|
|
793 |
serialver;
|
|
794 |
|
|
795 |
include com.sun.tools.example.debug.bdi.**,
|
|
796 |
com.sun.tools.example.debug.gui.**,
|
|
797 |
com.sun.tools.internal.xjc.**;
|
|
798 |
}
|
|
799 |
|
|
800 |
module attach {
|
|
801 |
include com.sun.tools.attach.**,
|
|
802 |
sun.tools.attach.**;
|
|
803 |
}
|
|
804 |
|
|
805 |
module debugging {
|
|
806 |
include com.sun.jdi.**, com.sun.tools.jdi.**;
|
|
807 |
}
|
|
808 |
|
|
809 |
module jdb {
|
|
810 |
include com.sun.tools.example.debug.**;
|
|
811 |
}
|
|
812 |
|
|
813 |
module sajdi {
|
|
814 |
include sun.jvm.hotspot.**,
|
|
815 |
com.sun.java.swing.ui.**,
|
|
816 |
com.sun.java.swing.action.**;
|
|
817 |
|
|
818 |
include toolbarButtonGraphics/**;
|
|
819 |
include sa.properties;
|
|
820 |
}
|
|
821 |
|
|
822 |
module tools {
|
|
823 |
include attach,
|
|
824 |
debugging,
|
|
825 |
jaxws-tools,
|
|
826 |
jdb,
|
|
827 |
sajdi;
|
|
828 |
|
|
829 |
// include gui-tools in tools module unless the tool binaries
|
|
830 |
// are modified to load the new gui-tools.jar
|
|
831 |
include gui-tools;
|
|
832 |
|
|
833 |
include com.sun.tools.**, sun.tools.**, sun.security.tools.**,
|
|
834 |
com.sun.jarsigner.**,
|
|
835 |
com.sun.javac.**,
|
|
836 |
com.sun.javadoc.**, com.sun.source.**,
|
|
837 |
sun.jvmstat.**,
|
|
838 |
sun.rmi.rmic.**;
|
|
839 |
}
|
|
840 |
|
|
841 |
/**************************************************************************/
|
|
842 |
|
|
843 |
module servicetag {
|
|
844 |
include com.sun.servicetag.**;
|
|
845 |
}
|
|
846 |
|
|
847 |
/**************************************************************************/
|
|
848 |
|
|
849 |
// these classes will be removed from JRE - see 6909002
|
|
850 |
module inputmethods-ext {
|
|
851 |
include com.sun.inputmethods.internal.**;
|
|
852 |
}
|
|
853 |
|
|
854 |
/**************************************************************************/
|
|
855 |
|
|
856 |
module other {
|
|
857 |
include **;
|
|
858 |
}
|