-
Notifications
You must be signed in to change notification settings - Fork 914
Open
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)JavaDoc[ci] enable java/javadoc tests and build-javadoc target[ci] enable java/javadoc tests and build-javadoc targetkind:bugBug report or fixBug report or fix
Milestone
Description
Apache NetBeans version
Apache NetBeans 27
What happened
Recent versions of the JDK API docs have been adding "Copy" buttons for code sections, like for example here: https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Class.html#newInstance%28%29
These are rendered by NetBeans in a way that overlaps with preceding text, making it unreadable.
Example screenshot (red ellipses highlight the issue):

Language / Project Type / NetBeans Component
Java
How to reproduce
Invoke the javadoc window (e.g. Ctrl+Space) on an invocation of Class.getInstance() (for example).
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows
JDK
21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
Metadata
Metadata
Assignees
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)JavaDoc[ci] enable java/javadoc tests and build-javadoc target[ci] enable java/javadoc tests and build-javadoc targetkind:bugBug report or fixBug report or fix