< prev index next >

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

Print this page

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

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

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

131     exports javax.security.auth.x500;
132     exports javax.security.cert;
133 
134 
135     // additional qualified exports may be inserted at build time
136     // see make/gensrc/GenModuleInfo.gmk
137 
138     exports com.sun.crypto.provider to
139         jdk.crypto.cryptoki;
140     exports sun.invoke.util to
141         jdk.compiler;
142     exports com.sun.security.ntlm to
143         java.security.sasl;
144     // Note: all modules in the exported list participate in preview  features
145     // and therefore if they use preview features they do not need to be
146     // compiled with "--enable-preview".
147     // It is recommended for any modules that do participate that their
148     // module declaration be annotated with jdk.internal.javac.ParticipatesInPreview
149     exports jdk.internal.javac to
150         java.compiler,

151         jdk.compiler,

152         jdk.incubator.vector, // participates in preview features
153         jdk.jartool, // participates in preview features
154         jdk.jshell;



155     exports jdk.internal.access to
156         java.desktop,
157         java.logging,
158         java.management,
159         java.naming,
160         java.rmi,
161         jdk.charsets,
162         jdk.jartool,
163         jdk.jlink,
164         jdk.jfr,
165         jdk.net,
166         jdk.incubator.concurrent,
167         jdk.sctp,
168         jdk.crypto.cryptoki;
169     exports jdk.internal.foreign to
170         jdk.incubator.vector;
171     exports jdk.internal.event to
172         jdk.jfr;
173     exports jdk.internal.io to
174         jdk.internal.le,
< prev index next >