author | mli |
Thu, 09 Feb 2017 18:33:28 -0800 | |
changeset 43710 | 8fa2058eb740 |
parent 43538 | 5b3936afe090 |
child 43720 | 6fb3e340c5bc |
permissions | -rw-r--r-- |
36511 | 1 |
/* |
43533 | 2 |
* Copyright (c) 2014, 2017, 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. |
43710
8fa2058eb740
8173957: Fix @since in module-info.java in dev/jdk repo
mli
parents:
43538
diff
changeset
|
28 |
* |
8fa2058eb740
8173957: Fix @since in module-info.java in dev/jdk repo
mli
parents:
43538
diff
changeset
|
29 |
* @since 9 |
36511 | 30 |
*/ |
31 |
module java.base { |
|
32 |
||
33 |
exports java.io; |
|
34 |
exports java.lang; |
|
35 |
exports java.lang.annotation; |
|
36 |
exports java.lang.invoke; |
|
37 |
exports java.lang.module; |
|
38 |
exports java.lang.ref; |
|
39 |
exports java.lang.reflect; |
|
40 |
exports java.math; |
|
41 |
exports java.net; |
|
42 |
exports java.net.spi; |
|
43 |
exports java.nio; |
|
44 |
exports java.nio.channels; |
|
45 |
exports java.nio.channels.spi; |
|
46 |
exports java.nio.charset; |
|
47 |
exports java.nio.charset.spi; |
|
48 |
exports java.nio.file; |
|
49 |
exports java.nio.file.attribute; |
|
50 |
exports java.nio.file.spi; |
|
51 |
exports java.security; |
|
52 |
exports java.security.acl; |
|
53 |
exports java.security.cert; |
|
54 |
exports java.security.interfaces; |
|
55 |
exports java.security.spec; |
|
56 |
exports java.text; |
|
57 |
exports java.text.spi; |
|
58 |
exports java.time; |
|
59 |
exports java.time.chrono; |
|
60 |
exports java.time.format; |
|
61 |
exports java.time.temporal; |
|
62 |
exports java.time.zone; |
|
63 |
exports java.util; |
|
64 |
exports java.util.concurrent; |
|
65 |
exports java.util.concurrent.atomic; |
|
66 |
exports java.util.concurrent.locks; |
|
67 |
exports java.util.function; |
|
68 |
exports java.util.jar; |
|
69 |
exports java.util.regex; |
|
70 |
exports java.util.spi; |
|
71 |
exports java.util.stream; |
|
72 |
exports java.util.zip; |
|
73 |
exports javax.crypto; |
|
74 |
exports javax.crypto.interfaces; |
|
75 |
exports javax.crypto.spec; |
|
76 |
exports javax.net; |
|
77 |
exports javax.net.ssl; |
|
78 |
exports javax.security.auth; |
|
79 |
exports javax.security.auth.callback; |
|
80 |
exports javax.security.auth.login; |
|
81 |
exports javax.security.auth.spi; |
|
82 |
exports javax.security.auth.x500; |
|
83 |
exports javax.security.cert; |
|
84 |
||
85 |
||
86 |
// the service types defined by the APIs in this module |
|
87 |
||
88 |
uses java.lang.System.LoggerFinder; |
|
89 |
uses java.net.ContentHandlerFactory; |
|
90 |
uses java.net.spi.URLStreamHandlerProvider; |
|
91 |
uses java.nio.channels.spi.AsynchronousChannelProvider; |
|
92 |
uses java.nio.channels.spi.SelectorProvider; |
|
93 |
uses java.nio.charset.spi.CharsetProvider; |
|
94 |
uses java.nio.file.spi.FileSystemProvider; |
|
95 |
uses java.nio.file.spi.FileTypeDetector; |
|
96 |
uses java.security.Provider; |
|
97 |
uses java.text.spi.BreakIteratorProvider; |
|
98 |
uses java.text.spi.CollatorProvider; |
|
99 |
uses java.text.spi.DateFormatProvider; |
|
100 |
uses java.text.spi.DateFormatSymbolsProvider; |
|
101 |
uses java.text.spi.DecimalFormatSymbolsProvider; |
|
102 |
uses java.text.spi.NumberFormatProvider; |
|
103 |
uses java.time.chrono.AbstractChronology; |
|
104 |
uses java.time.chrono.Chronology; |
|
105 |
uses java.time.zone.ZoneRulesProvider; |
|
106 |
uses java.util.spi.CalendarDataProvider; |
|
107 |
uses java.util.spi.CalendarNameProvider; |
|
108 |
uses java.util.spi.CurrencyNameProvider; |
|
109 |
uses java.util.spi.LocaleNameProvider; |
|
110 |
uses java.util.spi.ResourceBundleControlProvider; |
|
111 |
uses java.util.spi.ResourceBundleProvider; |
|
112 |
uses java.util.spi.TimeZoneNameProvider; |
|
41376 | 113 |
uses java.util.spi.ToolProvider; |
36511 | 114 |
uses javax.security.auth.spi.LoginModule; |
115 |
||
116 |
||
117 |
// additional qualified exports may be inserted at build time |
|
118 |
// see make/gensrc/GenModuleInfo.gmk |
|
119 |
||
120 |
exports com.sun.security.ntlm to |
|
121 |
java.security.sasl; |
|
122 |
exports jdk.internal.jimage to |
|
123 |
jdk.jlink; |
|
124 |
exports jdk.internal.jimage.decompressor to |
|
125 |
jdk.jlink; |
|
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41828
diff
changeset
|
126 |
exports jdk.internal.loader to |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41828
diff
changeset
|
127 |
java.instrument, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41828
diff
changeset
|
128 |
java.logging, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41828
diff
changeset
|
129 |
jdk.jlink; |
41352 | 130 |
exports jdk.internal.jmod to |
131 |
jdk.compiler, |
|
132 |
jdk.jlink; |
|
36511 | 133 |
exports jdk.internal.logger to |
134 |
java.logging; |
|
135 |
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
|
136 |
jdk.jartool, |
36511 | 137 |
jdk.jlink, |
138 |
jdk.scripting.nashorn, |
|
139 |
jdk.vm.ci; |
|
140 |
exports jdk.internal.org.objectweb.asm.tree to |
|
141 |
jdk.jlink; |
|
142 |
exports jdk.internal.org.objectweb.asm.util to |
|
143 |
jdk.jlink, |
|
144 |
jdk.scripting.nashorn; |
|
145 |
exports jdk.internal.org.objectweb.asm.tree.analysis to |
|
146 |
jdk.jlink; |
|
147 |
exports jdk.internal.org.objectweb.asm.commons to |
|
148 |
jdk.scripting.nashorn; |
|
149 |
exports jdk.internal.org.objectweb.asm.signature to |
|
150 |
jdk.scripting.nashorn; |
|
151 |
exports jdk.internal.math to |
|
152 |
java.desktop; |
|
153 |
exports jdk.internal.module to |
|
154 |
java.instrument, |
|
43503
bc7f8619ab70
8173607: JMX RMI connector should be in its own module
dfuchs
parents:
43494
diff
changeset
|
155 |
java.management.rmi, |
36511 | 156 |
jdk.jartool, |
38751
95fb2dcb4d84
8158131: Nashorn should not use jdk.internal.module.Modules API
sundar
parents:
38742
diff
changeset
|
157 |
jdk.jlink; |
36511 | 158 |
exports jdk.internal.misc to |
159 |
java.desktop, |
|
42460
7133f144981a
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42360
diff
changeset
|
160 |
jdk.incubator.httpclient, |
36511 | 161 |
java.logging, |
162 |
java.management, |
|
163 |
java.naming, |
|
164 |
java.rmi, |
|
165 |
java.security.jgss, |
|
166 |
java.sql, |
|
167 |
java.xml, |
|
168 |
jdk.charsets, |
|
38583
d887ee89eec0
8157986: Runtime support for javac to determine arguments to the runtime environment
mchung
parents:
38432
diff
changeset
|
169 |
jdk.compiler, |
37779
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37575
diff
changeset
|
170 |
jdk.jartool, |
41135
01650fdf3284
8153654: Update jdeps to be multi-release jar aware
sdrach
parents:
40944
diff
changeset
|
171 |
jdk.jdeps, |
37779
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
37575
diff
changeset
|
172 |
jdk.jlink, |
41588
6e66ad59f99a
8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
jlahoda
parents:
41481
diff
changeset
|
173 |
jdk.jshell, |
37679 | 174 |
jdk.net, |
36511 | 175 |
jdk.scripting.nashorn, |
41588
6e66ad59f99a
8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
jlahoda
parents:
41481
diff
changeset
|
176 |
jdk.scripting.nashorn.shell, |
36966 | 177 |
jdk.unsupported, |
36511 | 178 |
jdk.vm.ci; |
179 |
exports jdk.internal.perf to |
|
180 |
java.desktop, |
|
181 |
java.management, |
|
43494
11801b2ff456
8173608: Separate JDK management agent from java.management module
mchung
parents:
43329
diff
changeset
|
182 |
jdk.management.agent, |
43533 | 183 |
jdk.internal.jvmstat; |
36511 | 184 |
exports jdk.internal.ref to |
42707 | 185 |
java.desktop, |
186 |
jdk.unsupported; |
|
37363
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
187 |
exports jdk.internal.reflect to |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
188 |
java.logging, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
189 |
java.sql, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
190 |
java.sql.rowset, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
191 |
jdk.dynalink, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
192 |
jdk.scripting.nashorn, |
329dba26ffd2
8137058: Clear out all non-Critical APIs from sun.reflect
chegar
parents:
36967
diff
changeset
|
193 |
jdk.unsupported; |
36966 | 194 |
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
|
195 |
jdk.unsupported, |
178dd1b12732
8144826: [JVMCI] Remove jdk.vm.ci.hotspot.Stable and use jdk.internal.vm.annotation.Stable
psandoz
parents:
37780
diff
changeset
|
196 |
jdk.vm.ci; |
36745
51effd3e92d0
8152190: Move sun.misc.JarIndex and InvalidJarIndexException to an internal package
chegar
parents:
36673
diff
changeset
|
197 |
exports jdk.internal.util.jar to |
41135
01650fdf3284
8153654: Update jdeps to be multi-release jar aware
sdrach
parents:
40944
diff
changeset
|
198 |
jdk.jartool, |
41828
0436ea0c6099
8156499: Update jlink to support creating images with modules that are packaged as multi-release JARs
sdrach
parents:
41603
diff
changeset
|
199 |
jdk.jdeps, |
0436ea0c6099
8156499: Update jlink to support creating images with modules that are packaged as multi-release JARs
sdrach
parents:
41603
diff
changeset
|
200 |
jdk.jlink; |
36854
84179cb88469
8153181: Move sun.misc.VMSupport to an internal package
chegar
parents:
36745
diff
changeset
|
201 |
exports jdk.internal.vm to |
43494
11801b2ff456
8173608: Separate JDK management agent from java.management module
mchung
parents:
43329
diff
changeset
|
202 |
jdk.management.agent, |
43533 | 203 |
jdk.internal.jvmstat; |
36511 | 204 |
exports sun.net to |
42460
7133f144981a
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42360
diff
changeset
|
205 |
jdk.incubator.httpclient; |
37676
24ef455da1b0
8044773: Refactor jdk.net API so that it can be moved out of the base module
chegar
parents:
37575
diff
changeset
|
206 |
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
|
207 |
jdk.net; |
36511 | 208 |
exports sun.net.dns to |
209 |
java.security.jgss, |
|
210 |
jdk.naming.dns; |
|
211 |
exports sun.net.util to |
|
212 |
java.desktop, |
|
213 |
jdk.jconsole, |
|
214 |
jdk.naming.dns; |
|
215 |
exports sun.net.www to |
|
42460
7133f144981a
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42360
diff
changeset
|
216 |
jdk.incubator.httpclient, |
36511 | 217 |
java.desktop, |
218 |
jdk.jartool; |
|
219 |
exports sun.net.www.protocol.http to |
|
220 |
java.security.jgss; |
|
221 |
exports sun.nio.ch to |
|
222 |
java.management, |
|
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
223 |
jdk.crypto.cryptoki, |
42707 | 224 |
jdk.sctp, |
225 |
jdk.unsupported; |
|
36511 | 226 |
exports sun.nio.cs to |
227 |
java.desktop, |
|
228 |
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
|
229 |
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
|
230 |
jdk.unsupported; |
36511 | 231 |
exports sun.reflect.annotation to |
232 |
jdk.compiler; |
|
233 |
exports sun.reflect.generics.reflectiveObjects to |
|
234 |
java.desktop; |
|
235 |
exports sun.reflect.misc to |
|
236 |
java.desktop, |
|
237 |
java.datatransfer, |
|
238 |
java.management, |
|
43503
bc7f8619ab70
8173607: JMX RMI connector should be in its own module
dfuchs
parents:
43494
diff
changeset
|
239 |
java.management.rmi, |
36511 | 240 |
java.rmi, |
241 |
java.sql.rowset, |
|
242 |
java.xml, |
|
243 |
java.xml.ws; |
|
244 |
exports sun.security.action to |
|
245 |
java.desktop, |
|
41603
bb9d97b4c21b
8168313: Tighten permissions granted to jdk.crypto.pkcs11 module
mullan
parents:
41590
diff
changeset
|
246 |
java.security.jgss; |
36511 | 247 |
exports sun.security.internal.interfaces to |
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
248 |
jdk.crypto.cryptoki; |
36511 | 249 |
exports sun.security.internal.spec to |
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
250 |
jdk.crypto.cryptoki; |
36511 | 251 |
exports sun.security.jca to |
252 |
java.smartcardio, |
|
253 |
jdk.crypto.ec, |
|
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
254 |
jdk.crypto.cryptoki, |
36511 | 255 |
jdk.naming.dns; |
256 |
exports sun.security.pkcs to |
|
257 |
jdk.crypto.ec, |
|
258 |
jdk.jartool; |
|
259 |
exports sun.security.provider to |
|
260 |
java.rmi, |
|
261 |
java.security.jgss, |
|
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
262 |
jdk.crypto.cryptoki, |
36511 | 263 |
jdk.policytool, |
264 |
jdk.security.auth; |
|
265 |
exports sun.security.provider.certpath to |
|
266 |
java.naming; |
|
267 |
exports sun.security.rsa to |
|
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
268 |
jdk.crypto.cryptoki; |
36511 | 269 |
exports sun.security.ssl to |
270 |
java.security.jgss; |
|
41590
1c5b1891b8e0
8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
weijun
parents:
41588
diff
changeset
|
271 |
exports sun.security.timestamp to |
1c5b1891b8e0
8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
weijun
parents:
41588
diff
changeset
|
272 |
jdk.jartool; |
36511 | 273 |
exports sun.security.tools to |
274 |
jdk.jartool; |
|
275 |
exports sun.security.util to |
|
276 |
java.desktop, |
|
277 |
java.naming, |
|
278 |
java.rmi, |
|
279 |
java.security.jgss, |
|
280 |
java.security.sasl, |
|
281 |
java.smartcardio, |
|
43206 | 282 |
java.xml.crypto, |
36511 | 283 |
jdk.crypto.ec, |
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
284 |
jdk.crypto.cryptoki, |
36511 | 285 |
jdk.jartool, |
286 |
jdk.policytool, |
|
287 |
jdk.security.auth, |
|
288 |
jdk.security.jgss; |
|
289 |
exports sun.security.x509 to |
|
290 |
jdk.crypto.ec, |
|
43248
5e15de85a1a0
8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
ascarpino
parents:
43243
diff
changeset
|
291 |
jdk.crypto.cryptoki, |
36511 | 292 |
jdk.jartool, |
293 |
jdk.security.auth; |
|
43183 | 294 |
exports sun.security.validator to |
295 |
jdk.jartool; |
|
36511 | 296 |
exports sun.text.resources to |
297 |
jdk.localedata; |
|
39734 | 298 |
exports sun.util.cldr to |
299 |
jdk.jlink; |
|
36511 | 300 |
exports sun.util.locale.provider to |
301 |
java.desktop, |
|
39734 | 302 |
jdk.jlink, |
36511 | 303 |
jdk.localedata; |
304 |
exports sun.util.logging to |
|
305 |
java.desktop, |
|
306 |
java.logging, |
|
307 |
java.prefs; |
|
39734 | 308 |
exports sun.util.resources to |
309 |
jdk.localedata; |
|
36511 | 310 |
|
311 |
// JDK-internal service types |
|
312 |
uses jdk.internal.logger.DefaultLoggerFinder; |
|
313 |
uses sun.security.ssl.ClientKeyExchangeService; |
|
42360 | 314 |
uses sun.text.spi.JavaTimeDateTimePatternProvider; |
36511 | 315 |
uses sun.util.spi.CalendarProvider; |
316 |
uses sun.util.locale.provider.LocaleDataMetaInfo; |
|
317 |
uses sun.util.resources.LocaleData.CommonResourceBundleProvider; |
|
318 |
uses sun.util.resources.LocaleData.SupplementaryResourceBundleProvider; |
|
319 |
||
320 |
||
321 |
// Built-in service providers that are located via ServiceLoader |
|
322 |
||
323 |
provides java.nio.file.spi.FileSystemProvider with |
|
324 |
jdk.internal.jrtfs.JrtFileSystemProvider; |
|
325 |
} |