You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2021/12/05 07:17:00 UTC

[jira] [Resolved] (GROOVY-10393) Prepare for deprecation of security manager (JEP-411)

     [ https://issues.apache.org/jira/browse/GROOVY-10393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Sun resolved GROOVY-10393.
---------------------------------
    Resolution: Fixed

> Prepare for deprecation of security manager (JEP-411)
> -----------------------------------------------------
>
>                 Key: GROOVY-10393
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10393
>             Project: Groovy
>          Issue Type: Task
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.0.0-rc-2
>
>
> JEP-411 indicates that the security manager will be deprecated and removed in a future JDK. Groovy currently optionally allows use of a security manager. We should as a first step, refactor calls, e.g. to AccessController.doPrivileged to funnel through the one spot as part of the VMPlugin mechanism. We can then still allow such calls on JDKs that support it and remove when needed when no longer supported.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)