JDK-8040068 : SolarisSystem should be @Deprecated and @jdk.Exported(false)
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.security
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • Submitted: 2014-04-14
  • Updated: 2017-05-17
  • Resolved: 2014-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b13Fixed
Related Reports
Relates :  
Description
In JAAS, there are a number of classes around the SolarisLoginModule:

com/sun/security/auth//module/SolarisLoginModule.java
com/sun/security/auth//module/SolarisSystem.java
com/sun/security/auth//SolarisNumericGroupPrincipal.java
com/sun/security/auth//SolarisNumericUserPrincipal.java
com/sun/security/auth//SolarisPrincipal.java

All of these classes (except for SolarisSystem) were deprecated back in 2000. We should also deprecate SolarisSystem. This class is only referenced in SolarisLoginModule.

Also, JDK-8008662 introduced @jdk.Exported and it marked several deprecated classes (including the deprecated JAAS Solaris*** classes) to @jdk.Exported(false). Now that SolarisSystem is becoming deprecated, it should also be changed to @jdk.Exported(false).