JDK-8365533 : Remove outdated jdk.internal.javac package export to several modules from java.base
  • Type: Bug
  • Component: tools
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-08-14
  • Updated: 2025-08-18
  • Resolved: 2025-08-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 masterFixed
Related Reports
Relates :  
Relates :  
Description
The module-info.java of java.base exports jdk.internal.javac to:

        jdk.incubator.vector, // participates in preview features
        jdk.jartool, // participates in preview features
        jdk.jdeps, // participates in preview features
        jdk.jfr, // participates in preview features
        jdk.jlink,   // participates in preview features
        jdk.jshell; // participates in preview features

because they used to participate in the ClassFile API which was a preview feature some releases back. ClassFile API was finalized and delivered in Java 24 through JDK-8334712. So these exports can be removed.
Comments
Changeset: 81c6ed38 Branch: master Author: Jaikiran Pai <jpai@openjdk.org> Date: 2025-08-18 13:40:42 +0000 URL: https://git.openjdk.org/jdk/commit/81c6ed38828940d51c872c354c29dc13ed62a5ac
18-08-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26776 Date: 2025-08-14 10:34:59 +0000
14-08-2025