author | dfuchs |
Wed, 14 Sep 2016 14:04:14 +0100 | |
changeset 40944 | dba53de83476 |
parent 40405 | 127fac211e5c |
child 41135 | 01650fdf3284 |
permissions | -rw-r--r-- |
36511 | 1 |
/* |
37575
ebdc1cdf681e
8077360: Lower the number of providers created when using ServiceLoader
valeriep
parents:
37363
diff
changeset
|
2 |
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
36511 | 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 |
/** |
|
40405
127fac211e5c
8161965: Create initial javadoc description for modules
lancea
parents:
40251
diff
changeset
|
27 |
* Defines the foundational APIs of the Java SE Platform. |
36511 | 28 |
*/ |
29 |
module java.base { |
|
30 |
||
31 |
exports java.io; |
|
32 |
exports java.lang; |
|
33 |
exports java.lang.annotation; |
|
34 |
exports java.lang.invoke; |
|
35 |
exports java.lang.module; |
|
36 |
exports java.lang.ref; |
|
37 |
exports java.lang.reflect; |
|
38 |
exports java.math; |
|
39 |
exports java.net; |
|
40 |
exports java.net.spi; |
|
41 |
exports java.nio; |
|
42 |
exports java.nio.channels; |
|
43 |
exports java.nio.channels.spi; |
|
44 |
exports java.nio.charset; |
|
45 |
exports java.nio.charset.spi; |
|
46 |
exports java.nio.file; |
|
47 |
exports java.nio.file.attribute; |
|
48 |
exports java.nio.file.spi; |
|
49 |
exports java.security; |
|
50 |
exports java.security.acl; |
|
51 |
exports java.security.cert; |
|
52 |
exports java.security.interfaces; |
|
53 |
exports java.security.spec; |
|
54 |
exports java.text; |
|
55 |
exports java.text.spi; |
|
56 |
exports java.time; |
|
57 |
exports java.time.chrono; |
|
58 |
exports java.time.format; |
|
59 |
exports java.time.temporal; |
|
60 |
exports java.time.zone; |
|
61 |
exports java.util; |
|
62 |
exports java.util.concurrent; |
|
63 |
exports java.util.concurrent.atomic; |
|
64 |
exports java.util.concurrent.locks; |
|
65 |
exports java.util.function; |
|
66 |
exports java.util.jar; |
|
67 |
exports java.util.regex; |
|
68 |
exports java.util.spi; |
|
69 |
exports java.util.stream; |
|
70 |
exports java.util.zip; |
|
71 |
exports javax.crypto; |
|
72 |
exports javax.crypto.interfaces; |
|
73 |
exports javax.crypto.spec; |
|
74 |
exports javax.net; |
|
75 |
exports javax.net.ssl; |
|
76 |
exports javax.security.auth; |
|
77 |
exports javax.security.auth.callback; |
|
78 |
exports javax.security.auth.login; |
|
79 |
exports javax.security.auth.spi; |
|
80 |
exports javax.security.auth.x500; |
|
81 |
exports javax.security.cert; |
|
82 |
||
83 |
||
84 |
// the service types defined by the APIs in this module |
|
85 |
||
86 |
uses java.lang.System.LoggerFinder; |
|
87 |
uses java.net.ContentHandlerFactory; |
|
88 |
uses java.net.spi.URLStreamHandlerProvider; |
|
89 |
uses java.nio.channels.spi.AsynchronousChannelProvider; |
|
90 |
uses java.nio.channels.spi.SelectorProvider; |
|
91 |
uses java.nio.charset.spi.CharsetProvider; |
|
92 |
uses java.nio.file.spi.FileSystemProvider; |
|
93 |
uses java.nio.file.spi.FileTypeDetector; |
|
94 |
uses java.security.Provider; |
|
95 |
uses java.text.spi.BreakIteratorProvider; |
|
96 |
uses java.text.spi.CollatorProvider; |
|
97 |
uses java.text.spi.DateFormatProvider; |
|
98 |
uses java.text.spi.DateFormatSymbolsProvider; |
|
99 |
uses java.text.spi.DecimalFormatSymbolsProvider; |
|
100 |
uses java.text.spi.NumberFormatProvider; |
|
101 |
uses java.time.chrono.AbstractChronology; |
|
102 |
uses java.time.chrono.Chronology; |
|
103 |
uses java.time.zone.ZoneRulesProvider; |
|
104 |
uses java.util.spi.CalendarDataProvider; |
|
105 |
uses java.util.spi.CalendarNameProvider; |
|
106 |
uses java.util.spi.CurrencyNameProvider; |
|
107 |
uses java.util.spi.LocaleNameProvider; |
|
108 |
uses java.util.spi.ResourceBundleControlProvider; |
|
109 |
uses java.util.spi.ResourceBundleProvider; |
|
110 |
uses java.util.spi.TimeZoneNameProvider; |
|
111 |
uses javax.security.auth.spi.LoginModule; |
|
112 |
||
113 |
||
114 |
// additional qualified exports may be inserted at build time |
|
115 |
// see make/gensrc/GenModuleInfo.gmk |
|
116 |
||
117 |
// CORBA serialization needs reflective access |
|
118 |
exports sun.util.calendar to |
|
119 |
java.corba; |
|
120 |
||
121 |
exports com.sun.security.ntlm to |
|
122 |
java.security.sasl; |
|
123 |
exports jdk.internal.jimage to |
|
124 |
jdk.jlink; |
|
125 |
exports jdk.internal.jimage.decompressor to |
|
126 |
jdk.jlink; |
|
127 |
exports jdk.internal.logger to |
|
128 |
java.logging; |
|
129 |
exports jdk.internal.org.objectweb.asm to |
|
40251
481b890e50a3
8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents:
39776
diff
changeset
|
130 |
jdk.jartool, |
36511 | 131 |
jdk.jlink, |
132 |
jdk.scripting.nashorn, |
|
133 |
jdk.vm.ci; |
|
134 |
exports jdk.internal.org.objectweb.asm.tree to |
|
135 |
jdk.jlink; |
|
136 |
exports jdk.internal.org.objectweb.asm.util to |
|
137 |
jdk.jlink, |
|
138 |
jdk.scripting.nashorn; |
|
139 |
exports jdk.internal.org.objectweb.asm.tree.analysis to |
|
140 |
jdk.jlink; |
|
141 |
exports jdk.internal.org.objectweb.asm.commons to |
|
142 |
jdk.scripting.nashorn; |
|
143 |
exports jdk.internal.org.objectweb.asm.signature to |
|
144 |
jdk.scripting.nashorn; |
|
37807
78e5cb21ca13
8156147: NPE in InstrumentationImpl.transform when loading classes from -Xbootclasspath/a
sspitsyn
parents:
37780
diff
changeset
|
145 |
exports jdk.internal.loader to |
40944 | 146 |
java.instrument, |
147 |
java.logging; |
|
36511 | 148 |
exports jdk.internal.math to |
149 |
java.desktop; |
|
150 |
exports jdk.internal.module to |
|
151 |
java.instrument, |
|
152 |
java.management, |
|
153 |
jdk.dynalink, |
|
154 |
jdk.jartool, |
|
38751
95fb2dcb4d84
8158131: Nashorn should not use jdk.internal.module.Modules API
sundar
parents:
38742
diff
changeset
|
155 |
jdk.jlink; |
36511 | 156 |
exports jdk.internal.misc to |
157 |
java.corba, |
|
158 |
java.desktop, |
|
159 |
java.logging, |
|
160 |
java.management, |
|
161 |
java.naming, |
|
162 |
java.rmi, |
|
163 |
java.security.jgss, |
|
164 |
java.sql, |
|
165 |
java.xml, |
|
166 |
jdk.charsets, |
|
38583
d887ee89eec0
8157986: Runtime support for javac to determine arguments to the runtime environment
mchung
parents:
38432
diff
changeset
|
167 |
jdk.compiler, |
37779
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37575
diff
changeset
|
168 |
jdk.jartool, |
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37575
diff
changeset
|
169 |
jdk.jlink, |
37679 | 170 |
jdk.net, |
36511 | 171 |
jdk.scripting.nashorn, |
36966 | 172 |
jdk.unsupported, |
36511 | 173 |
jdk.vm.ci; |
174 |
exports jdk.internal.perf to |
|
175 |
java.desktop, |
|
176 |
java.management, |
|
177 |
jdk.jvmstat; |
|
178 |
exports jdk.internal.ref to |
|
179 |
java.desktop; |
|
37363
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
180 |
exports jdk.internal.reflect to |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
181 |
java.corba, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
182 |
java.logging, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
183 |
java.sql, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
184 |
java.sql.rowset, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
185 |
jdk.dynalink, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
186 |
jdk.scripting.nashorn, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
187 |
jdk.unsupported; |
36966 | 188 |
exports jdk.internal.vm.annotation to |
38789
178dd1b12732
8144826: [JVMCI] Remove jdk.vm.ci.hotspot.Stable and use jdk.internal.vm.annotation.Stable
psandoz
parents:
37780
diff
changeset
|
189 |
jdk.unsupported, |
178dd1b12732
8144826: [JVMCI] Remove jdk.vm.ci.hotspot.Stable and use jdk.internal.vm.annotation.Stable
psandoz
parents:
37780
diff
changeset
|
190 |
jdk.vm.ci; |
36745
51effd3e92d0
8152190: Move sun.misc.JarIndex and InvalidJarIndexException to an internal package
chegar
parents:
36673
diff
changeset
|
191 |
exports jdk.internal.util.jar to |
51effd3e92d0
8152190: Move sun.misc.JarIndex and InvalidJarIndexException to an internal package
chegar
parents:
36673
diff
changeset
|
192 |
jdk.jartool; |
36854
84179cb88469
8153181: Move sun.misc.VMSupport to an internal package
chegar
parents:
36745
diff
changeset
|
193 |
exports jdk.internal.vm to |
84179cb88469
8153181: Move sun.misc.VMSupport to an internal package
chegar
parents:
36745
diff
changeset
|
194 |
java.management, |
84179cb88469
8153181: Move sun.misc.VMSupport to an internal package
chegar
parents:
36745
diff
changeset
|
195 |
jdk.jvmstat; |
36511 | 196 |
exports sun.net to |
197 |
java.httpclient; |
|
37676
24ef455da1b0
8044773: Refactor jdk.net API so that it can be moved out of the base module
chegar
parents:
37575
diff
changeset
|
198 |
exports sun.net.ext to |
24ef455da1b0
8044773: Refactor jdk.net API so that it can be moved out of the base module
chegar
parents:
37575
diff
changeset
|
199 |
jdk.net; |
36511 | 200 |
exports sun.net.dns to |
201 |
java.security.jgss, |
|
202 |
jdk.naming.dns; |
|
203 |
exports sun.net.util to |
|
204 |
java.desktop, |
|
205 |
jdk.jconsole, |
|
206 |
jdk.naming.dns; |
|
207 |
exports sun.net.www to |
|
208 |
java.desktop, |
|
209 |
jdk.jartool; |
|
210 |
exports sun.net.www.protocol.http to |
|
211 |
java.security.jgss; |
|
212 |
exports sun.nio.ch to |
|
213 |
java.management, |
|
214 |
jdk.crypto.pkcs11, |
|
215 |
jdk.sctp; |
|
216 |
exports sun.nio.cs to |
|
217 |
java.desktop, |
|
218 |
jdk.charsets; |
|
38742
4af80d6e9e4d
8066258: Re-examine com.sun.nio.file to see if it should be a supported API
alanb
parents:
38583
diff
changeset
|
219 |
exports sun.nio.fs to |
4af80d6e9e4d
8066258: Re-examine com.sun.nio.file to see if it should be a supported API
alanb
parents:
38583
diff
changeset
|
220 |
jdk.unsupported; |
36511 | 221 |
exports sun.reflect.annotation to |
222 |
jdk.compiler; |
|
223 |
exports sun.reflect.generics.reflectiveObjects to |
|
224 |
java.desktop; |
|
225 |
exports sun.reflect.misc to |
|
226 |
java.corba, |
|
227 |
java.desktop, |
|
228 |
java.datatransfer, |
|
229 |
java.management, |
|
230 |
java.rmi, |
|
231 |
java.sql.rowset, |
|
232 |
java.xml, |
|
233 |
java.xml.ws; |
|
234 |
exports sun.security.action to |
|
235 |
java.desktop, |
|
236 |
java.security.jgss, |
|
237 |
jdk.crypto.pkcs11; |
|
238 |
exports sun.security.internal.interfaces to |
|
239 |
jdk.crypto.pkcs11; |
|
240 |
exports sun.security.internal.spec to |
|
241 |
jdk.crypto.pkcs11; |
|
242 |
exports sun.security.jca to |
|
243 |
java.smartcardio, |
|
244 |
java.xml.crypto, |
|
245 |
jdk.crypto.ec, |
|
246 |
jdk.crypto.pkcs11, |
|
247 |
jdk.naming.dns; |
|
248 |
exports sun.security.pkcs to |
|
249 |
jdk.crypto.ec, |
|
250 |
jdk.jartool; |
|
251 |
exports sun.security.provider to |
|
252 |
java.rmi, |
|
253 |
java.security.jgss, |
|
254 |
jdk.crypto.pkcs11, |
|
255 |
jdk.policytool, |
|
256 |
jdk.security.auth; |
|
257 |
exports sun.security.provider.certpath to |
|
258 |
java.naming; |
|
259 |
exports sun.security.rsa to |
|
260 |
jdk.crypto.pkcs11; |
|
261 |
exports sun.security.ssl to |
|
262 |
java.security.jgss; |
|
263 |
exports sun.security.tools to |
|
264 |
jdk.jartool; |
|
265 |
exports sun.security.util to |
|
266 |
java.desktop, |
|
267 |
java.naming, |
|
268 |
java.rmi, |
|
269 |
java.security.jgss, |
|
270 |
java.security.sasl, |
|
271 |
java.smartcardio, |
|
272 |
jdk.crypto.ec, |
|
273 |
jdk.crypto.pkcs11, |
|
274 |
jdk.jartool, |
|
275 |
jdk.policytool, |
|
276 |
jdk.security.auth, |
|
277 |
jdk.security.jgss; |
|
278 |
exports sun.security.x509 to |
|
279 |
jdk.crypto.ec, |
|
280 |
jdk.crypto.pkcs11, |
|
281 |
jdk.jartool, |
|
282 |
jdk.security.auth; |
|
283 |
exports sun.text.resources to |
|
284 |
jdk.localedata; |
|
39734 | 285 |
exports sun.util.cldr to |
286 |
jdk.jlink; |
|
36511 | 287 |
exports sun.util.locale.provider to |
288 |
java.desktop, |
|
39734 | 289 |
jdk.jlink, |
36511 | 290 |
jdk.localedata; |
291 |
exports sun.util.logging to |
|
292 |
java.desktop, |
|
293 |
java.logging, |
|
294 |
java.prefs; |
|
39734 | 295 |
exports sun.util.resources to |
296 |
jdk.localedata; |
|
36511 | 297 |
|
298 |
// JDK-internal service types |
|
299 |
uses jdk.internal.logger.DefaultLoggerFinder; |
|
300 |
uses sun.security.ssl.ClientKeyExchangeService; |
|
301 |
uses sun.util.spi.CalendarProvider; |
|
302 |
uses sun.util.locale.provider.LocaleDataMetaInfo; |
|
303 |
uses sun.util.resources.LocaleData.CommonResourceBundleProvider; |
|
304 |
uses sun.util.resources.LocaleData.SupplementaryResourceBundleProvider; |
|
305 |
||
306 |
||
307 |
// Built-in service providers that are located via ServiceLoader |
|
308 |
||
309 |
provides java.nio.file.spi.FileSystemProvider with |
|
310 |
jdk.internal.jrtfs.JrtFileSystemProvider; |
|
311 |
} |