< prev index next > src/java.base/share/classes/module-info.java
Print this page
/*
! * Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
/*
! * Copyright (c) 2014, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
// to use preview features and do not need to suppress "preview" warnings.
// It is recommended for any modules that do participate that their
// module declaration be annotated with jdk.internal.javac.ParticipatesInPreview.
exports jdk.internal.javac to
java.compiler,
! jdk.compiler;
exports jdk.internal.access to
java.desktop,
java.logging,
java.management,
java.rmi,
// to use preview features and do not need to suppress "preview" warnings.
// It is recommended for any modules that do participate that their
// module declaration be annotated with jdk.internal.javac.ParticipatesInPreview.
exports jdk.internal.javac to
java.compiler,
! jdk.compiler,
+ jdk.jdeps; // Uses Valhalla reflective preview APIs
exports jdk.internal.access to
java.desktop,
java.logging,
java.management,
java.rmi,
java.logging,
java.sql,
java.sql.rowset,
jdk.dynalink,
jdk.internal.vm.ci,
+ jdk.jdeps,
jdk.unsupported;
exports jdk.internal.vm to
java.management,
jdk.internal.jvmstat,
jdk.management,
jdk.incubator.vector;
exports jdk.internal.util.xml to
jdk.jfr;
exports jdk.internal.util.xml.impl to
jdk.jfr;
+ exports jdk.internal.value to // Needed by Unsafe
+ jdk.unsupported;
exports jdk.internal.util to
java.desktop,
java.prefs,
java.security.jgss,
java.smartcardio,
< prev index next >