Skip to content

Conversation

@mbien
Copy link
Member

@mbien mbien commented Oct 17, 2025

Saw that list while going through heap dumps and looking through GC roots. Looks important.

Not sure if org.netbeans.lib.nbjavac needs to be on it too or only the original javac packages.

removed

  • com.sun.javadoc
  • com.sun.tools.javadoc
  • com.sun.tools.hc

added

  • com.sun.tools.doclint
  • com.sun.tools.javap

@mbien mbien added the Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) label Oct 17, 2025
@mbien mbien requested a review from lahodaj October 17, 2025 17:10
@mbien mbien added this to the NB29 milestone Oct 25, 2025
@mbien
Copy link
Member Author

mbien commented Oct 25, 2025

@lahodaj could you check if this update is ok? I believe that currently some classes may be loaded using the wrong CL since the list misses some packages.

@mbien mbien force-pushed the update-javac-package-list branch from 216db69 to 702d082 Compare December 18, 2025 13:58
@mbien mbien force-pushed the update-javac-package-list branch from 702d082 to cc0828e Compare December 18, 2025 15:49
removed
 - com.sun.javadoc
 - com.sun.tools.javadoc
 - com.sun.tools.hc

added
 - com.sun.tools.doclint
 - com.sun.tools.javap
@mbien mbien added the ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) label Jan 20, 2026
@mbien
Copy link
Member Author

mbien commented Jan 20, 2026

gong to rebase this for a fresh dev build

@mbien mbien force-pushed the update-javac-package-list branch from cc0828e to 0fa3d35 Compare January 20, 2026 11:03
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/nbjavac/api/Bundle.properties
OpenIDE-Module-Specification-Version: 21.9
OpenIDE-Module-Hide-Classpath-Packages: com.sun.javadoc.**, com.sun.source.**, javax.annotation.processing.**, javax.lang.model.**, javax.tools.**, com.sun.tools.javac.** com.sun.tools.javac.**, com.sun.tools.javadoc.**, com.sun.tools.javap.**, com.sun.tools.classfile.**, com.sun.tools.doclint.**
OpenIDE-Module-Hide-Classpath-Packages: com.sun.source.**, javax.annotation.processing.**, javax.lang.model.**, javax.tools.**, com.sun.tools.javac.**, com.sun.tools.javap.**, com.sun.tools.classfile.**, com.sun.tools.doclint.**
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth noting that a coma was missing in this section: com.sun.tools.javac.** com.sun.tools.javac.**,

@mbien mbien marked this pull request as ready for review January 20, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants