apache / apache/netbeans

Remove remaining Security Manager usage in tests

Open
#9,206 0 comments 0 reactions 0 assignees View on GitHub
Code cleanup Java tests Upgrade JDK
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

some of it could be replaced with JFR, see selected snippet at https://github.com/apache/netbeans/pull/9151#discussion_r2734004313

see TODOs in https://github.com/apache/netbeans/commit/d385703751c6a73dcf0340b471b5d4d6a9a6b6e8

SM active in:
```
harness/apisupport.harness
ide/versioning
platform/core.startup.base
platform/core.startup
platform/masterfs
platform/netbinox
platform/o.n.bootstrap
platform/openide.execution
platform/openide.filesystems
platform/openide.loaders
platform/openide.util.lookup
platform/openide.util.ui
```

Contributor guide

Open the contributing guide

Research direction

Start with the TODOs in commit d385703751c6a73dcf0340b471b5d4d6a9a6b6e8 and the selected discussion in pull request 9151. Inspect Security Manager usage in the listed NetBeans modules, considering the JFR direction noted there. Done means the remaining test usage has been removed or replaced across those modules.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security, testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.