Skip to content

Codebase JDK compatibility #8256

Open
3 of 9 issues completed
Open
Task
3 of 9 issues completed
@mbien

Description

@mbien

open-ended meta issue for JDK compatibility problems of the netbeans codebase

see sub-issues for details

easy way to get a list of for-removal deprecated calls is to start NB with JFR enabled (put into conf so that userdir can be resolved):

-J-XX:StartFlightRecording:filename=${netbeans_default_userdir}/var/nb.jfr,settings=default.jfc,dumponexit=true

then list with:

jfr print --events jdk.DeprecatedInvocation nb.jfr

(or open in tools like VisualVM, Mission Control etc)

unfortunately the stored stack is limited to displaying only the first non-jdk frame https://bugs.openjdk.org/browse/JDK-8211238

The event will have a stack trace but will be truncated to the immediate caller. Take note JMC, as the existing heuristics about reporting truncated stack traces will need to be updated.

which can make finding the usage a bit more difficult

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Code cleanupJava[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)Upgrade JDKUpgrade to the JDK requirements of a module.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions