< prev index next >

src/java.base/share/classes/module-info.java

Print this page

  1 /*
  2  * Copyright (c) 2014, 2025, 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

136     exports javax.security.cert;
137 
138     // additional qualified exports may be inserted at build time
139     // see make/gensrc/GenModuleInfo.gmk
140 
141     exports com.sun.crypto.provider to
142         jdk.crypto.cryptoki;
143     exports sun.invoke.util to
144         jdk.compiler;
145     exports com.sun.security.ntlm to
146         java.security.sasl;
147     exports jdk.internal to
148         jdk.incubator.vector;
149     // Note: all modules in the exported list participate in preview features,
150     // normal or reflective.  They do not need to be compiled with "--enable-preview"
151     // to use preview features and do not need to suppress "preview" warnings.
152     // It is recommended for any modules that do participate that their
153     // module declaration be annotated with jdk.internal.javac.ParticipatesInPreview.
154     exports jdk.internal.javac to
155         java.compiler,
156         jdk.compiler;

157     exports jdk.internal.access to
158         java.desktop,
159         java.logging,
160         java.management,
161         java.rmi,
162         jdk.charsets,
163         jdk.jartool,
164         jdk.jlink,
165         jdk.jfr,
166         jdk.management,
167         jdk.net,
168         jdk.sctp,
169         jdk.crypto.cryptoki;
170     exports jdk.internal.classfile.components to
171         jdk.jfr;
172     exports jdk.internal.foreign to
173         jdk.incubator.vector;
174     exports jdk.internal.event to
175         jdk.jfr;
176     exports jdk.internal.io to

222         jdk.jfr,
223         jdk.jlink,
224         jdk.jpackage;
225     exports jdk.internal.perf to
226         java.management,
227         jdk.management.agent,
228         jdk.internal.jvmstat;
229     exports jdk.internal.platform to
230         jdk.management,
231         jdk.jfr;
232     exports jdk.internal.ref to
233         java.desktop,
234         java.net.http,
235         jdk.naming.dns;
236     exports jdk.internal.reflect to
237         java.logging,
238         java.sql,
239         java.sql.rowset,
240         jdk.dynalink,
241         jdk.internal.vm.ci,

242         jdk.unsupported;
243     exports jdk.internal.vm to
244         java.management,
245         jdk.internal.jvmstat,
246         jdk.management,
247         jdk.management.agent,
248         jdk.internal.vm.ci,
249         jdk.jfr;
250     exports jdk.internal.vm.annotation to
251         java.instrument,
252         jdk.internal.vm.ci,
253         jdk.incubator.vector,
254         jdk.jfr,
255         jdk.unsupported;
256     exports jdk.internal.vm.vector to
257         jdk.incubator.vector;
258     exports jdk.internal.util.xml to
259         jdk.jfr;
260     exports jdk.internal.util.xml.impl to
261         jdk.jfr;


262     exports jdk.internal.util to
263         java.desktop,
264         java.prefs,
265         java.security.jgss,
266         java.smartcardio,
267         java.naming,
268         java.rmi,
269         java.net.http,
270         jdk.charsets,
271         jdk.incubator.vector,
272         jdk.internal.vm.ci,
273         jdk.httpserver,
274         jdk.jlink,
275         jdk.jpackage,
276         jdk.net,
277         jdk.security.auth;
278     exports sun.net to
279         java.net.http,
280         jdk.naming.dns;
281     exports sun.net.ext to

  1 /*
  2  * Copyright (c) 2014, 2026, 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

136     exports javax.security.cert;
137 
138     // additional qualified exports may be inserted at build time
139     // see make/gensrc/GenModuleInfo.gmk
140 
141     exports com.sun.crypto.provider to
142         jdk.crypto.cryptoki;
143     exports sun.invoke.util to
144         jdk.compiler;
145     exports com.sun.security.ntlm to
146         java.security.sasl;
147     exports jdk.internal to
148         jdk.incubator.vector;
149     // Note: all modules in the exported list participate in preview features,
150     // normal or reflective.  They do not need to be compiled with "--enable-preview"
151     // to use preview features and do not need to suppress "preview" warnings.
152     // It is recommended for any modules that do participate that their
153     // module declaration be annotated with jdk.internal.javac.ParticipatesInPreview.
154     exports jdk.internal.javac to
155         java.compiler,
156         jdk.compiler,
157         jdk.jdeps; // Uses Valhalla reflective preview APIs
158     exports jdk.internal.access to
159         java.desktop,
160         java.logging,
161         java.management,
162         java.rmi,
163         jdk.charsets,
164         jdk.jartool,
165         jdk.jlink,
166         jdk.jfr,
167         jdk.management,
168         jdk.net,
169         jdk.sctp,
170         jdk.crypto.cryptoki;
171     exports jdk.internal.classfile.components to
172         jdk.jfr;
173     exports jdk.internal.foreign to
174         jdk.incubator.vector;
175     exports jdk.internal.event to
176         jdk.jfr;
177     exports jdk.internal.io to

223         jdk.jfr,
224         jdk.jlink,
225         jdk.jpackage;
226     exports jdk.internal.perf to
227         java.management,
228         jdk.management.agent,
229         jdk.internal.jvmstat;
230     exports jdk.internal.platform to
231         jdk.management,
232         jdk.jfr;
233     exports jdk.internal.ref to
234         java.desktop,
235         java.net.http,
236         jdk.naming.dns;
237     exports jdk.internal.reflect to
238         java.logging,
239         java.sql,
240         java.sql.rowset,
241         jdk.dynalink,
242         jdk.internal.vm.ci,
243         jdk.jdeps,
244         jdk.unsupported;
245     exports jdk.internal.vm to
246         java.management,
247         jdk.internal.jvmstat,
248         jdk.management,
249         jdk.management.agent,
250         jdk.internal.vm.ci,
251         jdk.jfr;
252     exports jdk.internal.vm.annotation to
253         java.instrument,
254         jdk.internal.vm.ci,
255         jdk.incubator.vector,
256         jdk.jfr,
257         jdk.unsupported;
258     exports jdk.internal.vm.vector to
259         jdk.incubator.vector;
260     exports jdk.internal.util.xml to
261         jdk.jfr;
262     exports jdk.internal.util.xml.impl to
263         jdk.jfr;
264     exports jdk.internal.value to  // Needed by Unsafe
265         jdk.unsupported;
266     exports jdk.internal.util to
267         java.desktop,
268         java.prefs,
269         java.security.jgss,
270         java.smartcardio,
271         java.naming,
272         java.rmi,
273         java.net.http,
274         jdk.charsets,
275         jdk.incubator.vector,
276         jdk.internal.vm.ci,
277         jdk.httpserver,
278         jdk.jlink,
279         jdk.jpackage,
280         jdk.net,
281         jdk.security.auth;
282     exports sun.net to
283         java.net.http,
284         jdk.naming.dns;
285     exports sun.net.ext to
< prev index next >