Skip to content

doPrivileged() fallback - #139

Merged
tzaeschke merged 2 commits into
mainfrom
doPriviledged-fallback
Nov 3, 2026
Merged

tzaeschke merged 2 commits into
mainfrom
doPriviledged-fallback

Conversation

@tzaeschke

Copy link
Copy Markdown
Contributor

Public doPrivileged fallbacks refuse to run while AccessController exists (javadoc invariant enforced); checkPermission rethrows documented SecurityException; JEP-411 disclosure notes.

@sonarqubecloud

Copy link
Copy Markdown

@clr-apache

Copy link
Copy Markdown
Contributor

Looks good for 3.2.2. Maybe in 3.3 we can just remove the support for doPrivileged.

@clr-apache clr-apache changed the title doPriviledged() fallback doPrivileged() fallback Nov 3, 2026
@tzaeschke tzaeschke self-assigned this Nov 3, 2026
@tzaeschke
tzaeschke merged commit 2cf801e into main Nov 3, 2026
8 checks passed
@tzaeschke
tzaeschke deleted the doPriviledged-fallback branch November 3, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants