[ 
https://issues.apache.org/jira/browse/GROOVY-10581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102687#comment-18102687
 ] 

Paul King commented on GROOVY-10581:
------------------------------------

This is a breaking change by design since the later JDKs no longer have the 
needed classes.

> Prepare for deprecation of security manager (JEP-411)
> -----------------------------------------------------
>
>                 Key: GROOVY-10581
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10581
>             Project: Groovy
>          Issue Type: Task
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>              Labels: breaking
>             Fix For: 6.0.0-alpha-1
>
>
> 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.10#820010)

Reply via email to