apache / apache/lucene

Remove usage of SecurityManager and AccessController

Open
#11,801 4 comments 0 reactions 0 assignees View on GitHub
type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

### Description

Java is removing the SecurityManager and AccessController.

Running Lucene build under Java 17 emits a lot of warnings:

```
WARNING: A command line option has enabled the Security Manager
WARNING: The Security Manager is deprecated and will be removed in a future release
```

In a future release, this will break the build. Lucene should remove all uses of SecurityManager and AccessController to work in future Java versions.

Contributor guide

Open the contributing guide

Research direction

Search the Lucene repository for uses of SecurityManager and AccessController, then inspect the build configuration that enables the Security Manager under Java 17. Done means those uses and the related build warnings are removed while the Lucene build works on future Java versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, search
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.