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

Eric Bresie commented on NETBEANS-5349:
---------------------------------------

For code which imports java.security.acl.* it may need to be adjusted.  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}}|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/Policy.html]
 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;      [position 22:1]

> Update Netbeans Codebase to Account for deprecated/removed API in Java 11
> -------------------------------------------------------------------------
>
>                 Key: NETBEANS-5349
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5349
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 12.2
>         Environment: As this is Java emphasis this should impact each OS 
> environment and involve the applicable Java involved (i.e. as of a given Java 
> version, the API may no longer be available and require replacements to newer 
> APIs)
>            Reporter: Eric Bresie
>            Priority: Major
>
> In more recent Java releases, efforts have been made to deprecate and remove 
> unused or out of data APIs.  This ticket is a parent ticket to address future 
> updates to applicable projects where the NetBeans codebase utilized these 
> deprecated and/or removed interfaces. 
> This ticket has emphasis on Java 11 depreciations but similar type of work 
> could be done on newer java releases going forward (i.e. each LTS release)
> For items related as of Java 11 see 
> [https://docs.oracle.com/en/java/javase/11/docs/api/deprecated-list.html]
> As part of this work, it will requiring analysis of each project code base 
> and identify where depreciated or removed API are in used,  For each of the 
> given occurrences the 
> When changes are implemented, this will impact the build source (and possible 
> target) dependencies (i.e. changes will be needed anyplace where 
> javac.source, javac.target) may be impacted.  These would have to be updated 
> to be version relative to the applicable version.
> For items related as of Java 15 See
> [https://docs.oracle.com/en/java/javase/15/docs/api/deprecated-list.html]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to