1 /* 2 * Copyright (c) 2014, 2020, 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 /** 27 * Defines the foundational APIs of the Java SE Platform. 28 * 29 * <dl class="notes"> 30 * <dt>Providers:</dt> 31 * <dd> The JDK implementation of this module provides an implementation of 32 * the {@index jrt jrt} {@linkplain java.nio.file.spi.FileSystemProvider 33 * file system provider} to enumerate and read the class and resource 34 * files in a run-time image. 35 * The jrt file system can be created by calling 36 * {@link java.nio.file.FileSystems#newFileSystem 37 * FileSystems.newFileSystem(URI.create("jrt:/"))}. 38 * </dd> 39 * </dl> 40 * 41 * @toolGuide java java launcher 42 * @toolGuide keytool 43 * 44 * @provides java.nio.file.spi.FileSystemProvider 45 * 46 * @uses java.lang.System.LoggerFinder 47 * @uses java.net.ContentHandlerFactory 48 * @uses java.net.spi.URLStreamHandlerProvider 49 * @uses java.nio.channels.spi.AsynchronousChannelProvider 50 * @uses java.nio.channels.spi.SelectorProvider 51 * @uses java.nio.charset.spi.CharsetProvider 52 * @uses java.nio.file.spi.FileSystemProvider 53 * @uses java.nio.file.spi.FileTypeDetector 54 * @uses java.security.Provider 55 * @uses java.text.spi.BreakIteratorProvider 56 * @uses java.text.spi.CollatorProvider 57 * @uses java.text.spi.DateFormatProvider 58 * @uses java.text.spi.DateFormatSymbolsProvider 59 * @uses java.text.spi.DecimalFormatSymbolsProvider 60 * @uses java.text.spi.NumberFormatProvider 61 * @uses java.time.chrono.AbstractChronology 62 * @uses java.time.chrono.Chronology 63 * @uses java.time.zone.ZoneRulesProvider 64 * @uses java.util.spi.CalendarDataProvider 65 * @uses java.util.spi.CalendarNameProvider 66 * @uses java.util.spi.CurrencyNameProvider 67 * @uses java.util.spi.LocaleNameProvider 68 * @uses java.util.spi.ResourceBundleControlProvider 69 * @uses java.util.spi.ResourceBundleProvider 70 * @uses java.util.spi.TimeZoneNameProvider 71 * @uses java.util.spi.ToolProvider 72 * @uses javax.security.auth.spi.LoginModule 73 * 74 * @moduleGraph 75 * @since 9 76 */ 77 module java.base { 78 79 exports java.io; 80 exports java.lang; 81 exports java.lang.annotation; 82 exports java.lang.constant; 83 exports java.lang.invoke; 84 exports java.lang.module; 85 exports java.lang.ref; 86 exports java.lang.reflect; 87 exports java.lang.runtime; 88 exports java.math; 89 exports java.net; 90 exports java.net.spi; 91 exports java.nio; 92 exports java.nio.channels; 93 exports java.nio.channels.spi; 94 exports java.nio.charset; 95 exports java.nio.charset.spi; 96 exports java.nio.file; 97 exports java.nio.file.attribute; 98 exports java.nio.file.spi; 99 exports java.security; 100 exports java.security.cert; 101 exports java.security.interfaces; 102 exports java.security.spec; 103 exports java.text; 104 exports java.text.spi; 105 exports java.time; 106 exports java.time.chrono; 107 exports java.time.format; 108 exports java.time.temporal; 109 exports java.time.zone; 110 exports java.util; 111 exports java.util.concurrent; 112 exports java.util.concurrent.atomic; 113 exports java.util.concurrent.locks; 114 exports java.util.function; 115 exports java.util.jar; 116 exports java.util.regex; 117 exports java.util.spi; 118 exports java.util.stream; 119 exports java.util.zip; 120 exports javax.crypto; 121 exports javax.crypto.interfaces; 122 exports javax.crypto.spec; 123 exports javax.net; 124 exports javax.net.ssl; 125 exports javax.security.auth; 126 exports javax.security.auth.callback; 127 exports javax.security.auth.login; 128 exports javax.security.auth.spi; 129 exports javax.security.auth.x500; 130 exports javax.security.cert; 131 132 133 // additional qualified exports may be inserted at build time 134 // see make/gensrc/GenModuleInfo.gmk 135 136 exports sun.invoke.util to 137 jdk.compiler, 138 jdk.incubator.foreign; 139 exports com.sun.security.ntlm to 140 java.security.sasl; 141 exports jdk.internal to 142 java.compiler, 143 jdk.jfr, 144 jdk.compiler, 145 jdk.jshell; 146 exports jdk.internal.access to 147 java.desktop, 148 java.logging, 149 java.management, 150 java.naming, 151 java.rmi, 152 jdk.jlink, 153 jdk.net, 154 jdk.incubator.foreign; 155 exports jdk.internal.access.foreign to 156 jdk.incubator.foreign; 157 exports jdk.internal.event to 158 jdk.jfr; 159 exports jdk.internal.jimage to 160 jdk.jlink; 161 exports jdk.internal.jimage.decompressor to 162 jdk.jlink; 163 exports jdk.internal.loader to 164 java.instrument, 165 java.logging, 166 java.naming; 167 exports jdk.internal.jmod to 168 jdk.compiler, 169 jdk.jlink; 170 exports jdk.internal.logger to 171 java.logging; 172 exports jdk.internal.org.objectweb.asm to 173 jdk.jartool, 174 jdk.jfr, 175 jdk.jlink; 176 exports jdk.internal.org.objectweb.asm.tree to 177 jdk.jfr, 178 jdk.jlink; 179 exports jdk.internal.org.objectweb.asm.util to 180 jdk.jfr; 181 exports jdk.internal.org.objectweb.asm.commons to 182 jdk.jfr; 183 exports jdk.internal.org.xml.sax to 184 jdk.jfr; 185 exports jdk.internal.org.xml.sax.helpers to 186 jdk.jfr; 187 exports jdk.internal.misc to 188 java.desktop, 189 java.logging, 190 java.management, 191 java.naming, 192 java.net.http, 193 java.rmi, 194 java.security.jgss, 195 java.xml, 196 jdk.attach, 197 jdk.charsets, 198 jdk.compiler, 199 jdk.jfr, 200 jdk.jshell, 201 jdk.nio.mapmode, 202 jdk.unsupported, 203 jdk.internal.vm.ci, 204 jdk.incubator.foreign; 205 exports jdk.internal.module to 206 java.instrument, 207 java.management.rmi, 208 jdk.jartool, 209 jdk.jfr, 210 jdk.jlink, 211 jdk.incubator.jpackage; 212 exports jdk.internal.perf to 213 java.management, 214 jdk.management.agent, 215 jdk.internal.jvmstat; 216 exports jdk.internal.platform to 217 jdk.management; 218 exports jdk.internal.ref to 219 java.desktop; 220 exports jdk.internal.reflect to 221 java.logging, 222 java.sql, 223 java.sql.rowset, 224 jdk.dynalink, 225 jdk.internal.vm.ci, 226 jdk.unsupported; 227 exports jdk.internal.vm to 228 jdk.internal.jvmstat, 229 jdk.management.agent; 230 exports jdk.internal.vm.annotation to 231 jdk.internal.vm.ci, 232 jdk.unsupported; 233 exports jdk.internal.util.jar to 234 jdk.jartool; 235 exports jdk.internal.util.xml to 236 jdk.jfr; 237 exports jdk.internal.util.xml.impl to 238 jdk.jfr; 239 exports sun.net to 240 java.net.http, 241 jdk.naming.dns; 242 exports sun.net.ext to 243 jdk.net; 244 exports sun.net.dns to 245 java.security.jgss, 246 jdk.naming.dns; 247 exports sun.net.util to 248 java.desktop, 249 java.net.http, 250 jdk.jconsole, 251 jdk.sctp; 252 exports sun.net.www to 253 java.net.http, 254 jdk.jartool; 255 exports sun.net.www.protocol.http to 256 java.security.jgss; 257 exports sun.nio.ch to 258 java.management, 259 jdk.crypto.cryptoki, 260 jdk.net, 261 jdk.sctp, 262 jdk.incubator.foreign; 263 exports sun.nio.cs to 264 jdk.charsets; 265 exports sun.reflect.annotation to 266 jdk.compiler; 267 exports sun.reflect.generics.reflectiveObjects to 268 java.desktop; 269 exports sun.reflect.misc to 270 java.desktop, 271 java.datatransfer, 272 java.management, 273 java.management.rmi, 274 java.rmi, 275 java.sql.rowset; 276 exports sun.security.action to 277 java.desktop, 278 java.security.jgss, 279 jdk.crypto.ec, 280 jdk.incubator.foreign; 281 exports sun.security.internal.interfaces to 282 jdk.crypto.cryptoki; 283 exports sun.security.internal.spec to 284 jdk.crypto.cryptoki; 285 exports sun.security.jca to 286 java.smartcardio, 287 jdk.crypto.ec, 288 jdk.crypto.cryptoki, 289 jdk.naming.dns; 290 exports sun.security.pkcs to 291 jdk.crypto.ec, 292 jdk.jartool; 293 exports sun.security.provider to 294 java.rmi, 295 java.security.jgss, 296 jdk.crypto.cryptoki, 297 jdk.security.auth; 298 exports sun.security.provider.certpath to 299 java.naming; 300 exports sun.security.rsa to 301 jdk.crypto.cryptoki; 302 exports sun.security.timestamp to 303 jdk.jartool; 304 exports sun.security.tools to 305 jdk.jartool; 306 exports sun.security.util to 307 java.desktop, 308 java.naming, 309 java.rmi, 310 java.security.jgss, 311 java.security.sasl, 312 java.smartcardio, 313 java.xml.crypto, 314 jdk.crypto.ec, 315 jdk.crypto.cryptoki, 316 jdk.jartool, 317 jdk.security.auth, 318 jdk.security.jgss; 319 exports sun.security.util.math to 320 jdk.crypto.ec; 321 exports sun.security.util.math.intpoly to 322 jdk.crypto.ec; 323 exports sun.security.x509 to 324 jdk.crypto.ec, 325 jdk.crypto.cryptoki, 326 jdk.jartool; 327 exports sun.security.validator to 328 jdk.jartool; 329 exports sun.util.cldr to 330 jdk.jlink; 331 exports sun.util.locale.provider to 332 java.desktop, 333 jdk.jlink, 334 jdk.localedata; 335 exports sun.util.logging to 336 java.desktop, 337 java.logging, 338 java.prefs; 339 exports sun.util.resources to 340 jdk.localedata; 341 342 343 // the service types defined by the APIs in this module 344 345 uses java.lang.System.LoggerFinder; 346 uses java.net.ContentHandlerFactory; 347 uses java.net.spi.URLStreamHandlerProvider; 348 uses java.nio.channels.spi.AsynchronousChannelProvider; 349 uses java.nio.channels.spi.SelectorProvider; 350 uses java.nio.charset.spi.CharsetProvider; 351 uses java.nio.file.spi.FileSystemProvider; 352 uses java.nio.file.spi.FileTypeDetector; 353 uses java.security.Provider; 354 uses java.text.spi.BreakIteratorProvider; 355 uses java.text.spi.CollatorProvider; 356 uses java.text.spi.DateFormatProvider; 357 uses java.text.spi.DateFormatSymbolsProvider; 358 uses java.text.spi.DecimalFormatSymbolsProvider; 359 uses java.text.spi.NumberFormatProvider; 360 uses java.time.chrono.AbstractChronology; 361 uses java.time.chrono.Chronology; 362 uses java.time.zone.ZoneRulesProvider; 363 uses java.util.spi.CalendarDataProvider; 364 uses java.util.spi.CalendarNameProvider; 365 uses java.util.spi.CurrencyNameProvider; 366 uses java.util.spi.LocaleNameProvider; 367 uses java.util.spi.ResourceBundleControlProvider; 368 uses java.util.spi.ResourceBundleProvider; 369 uses java.util.spi.TimeZoneNameProvider; 370 uses java.util.spi.ToolProvider; 371 uses javax.security.auth.spi.LoginModule; 372 373 // JDK-internal service types 374 375 uses jdk.internal.logger.DefaultLoggerFinder; 376 uses sun.text.spi.JavaTimeDateTimePatternProvider; 377 uses sun.util.spi.CalendarProvider; 378 uses sun.util.locale.provider.LocaleDataMetaInfo; 379 uses sun.util.resources.LocaleData.CommonResourceBundleProvider; 380 uses sun.util.resources.LocaleData.SupplementaryResourceBundleProvider; 381 382 // Built-in service providers that are located via ServiceLoader 383 384 provides java.nio.file.spi.FileSystemProvider with 385 jdk.internal.jrtfs.JrtFileSystemProvider; 386 } --- EOF ---