Skip to content

Use Runtime.version() where applicable and remove unreachable code#9213

Open
mbien wants to merge 1 commit intoapache:masterfrom
mbien:use-runtime-version
Open

Use Runtime.version() where applicable and remove unreachable code#9213
mbien wants to merge 1 commit intoapache:masterfrom
mbien:use-runtime-version

Conversation

@mbien
Copy link
Member

@mbien mbien commented Feb 18, 2026

  • replace reflective access with direct calls
  • replace java version parsing with Runtime.version()
  • remove dead code paths due to past JDK bumps
  • minor cleanup in touched files

got inspired by the discussion in #9181 and a few things in my stash

 - replace reflective access with direct calls
 - replace java version parsing with Runtime.version()
 - remove dead code paths due to past JDK bumps
 - minor cleanup in touched files
@mbien mbien added this to the NB30 milestone Feb 18, 2026
@mbien mbien added Code cleanup Label for cleanup done on the Netbeans IDE ci:all-tests [ci] enable all tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Feb 18, 2026
@mbien
Copy link
Member Author

mbien commented Feb 18, 2026

@haidubogdan this also removes some php code which shouldn't be reachable anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:all-tests [ci] enable all tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Code cleanup Label for cleanup done on the Netbeans IDE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments