You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Eric Bresie (Jira)" <ji...@apache.org> on 2021/05/15 15:43:00 UTC
[jira] [Commented] (NETBEANS-5376) Update Usage of Java.Security
API to Newer Policy API
[ https://issues.apache.org/jira/browse/NETBEANS-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345067#comment-17345067 ]
Eric Bresie commented on NETBEANS-5376:
---------------------------------------
This may also be related to JEP-411
https://blogs.apache.org/netbeans/entry/jep-411-deprecate-the-security
> Update Usage of Java.Security API to Newer Policy API
> ------------------------------------------------------
>
> Key: NETBEANS-5376
> URL: https://issues.apache.org/jira/browse/NETBEANS-5376
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 12.2
> Reporter: Eric Bresie
> Priority: Major
>
> The intent is address changes Java.Security where APIs are depreciated and being removed in future JDK versions.
> For example code which imports java.security.acl.* may need to be adjusted to utilize a new "Policy" API. See https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/acl/package-summary.html which indicates "The java.security package contains suitable replacements. See Policy and related classes for details. This package is subject to removal in a future version of Java SE."
> JAVASE.jsh JAVASE.jsh import java.security.acl.*; [position 43:1]
> SolarisPrivilegesSupport.java import java.security.acl.NotOwnerException; [position 21:1]
> RequestPrivilegesAction.java import java.security.acl.NotOwnerException; [position 21:1]
> RequestPrivilegesTask.java import java.security.acl.NotOwnerException; [position 22:1]
> SPSCommonImpl.java import java.security.acl.NotOwnerException; [position 21:1]
> SPSLocalImpl.java import java.security.acl.NotOwnerException; [position 25:1]
> SPSRemoteImpl.java import java.security.acl.NotOwnerException; [position 30:1]
> SolarisPrivilegesSupportTest.java import java.security.acl.NotOwnerException;
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists