JDK-8164665 : Add a public access control modifier to JarFile::getRealName
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2016-08-23
  • Updated: 2017-11-27
  • Resolved: 2017-11-27
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.
Other
tbd_majorResolved
Related Reports
Duplicate :  
Description
Currently JarFile::getRealName has no access control modifier, making it a package-private method.  It's will soon be used in two places in JDK 9, so it's desirable to make the method public.
Comments
I should have said it might *not* be desirable to make this a public method since it's only used in two places in JDK 9 and there is a known way to invoke the method through the SharedSecrets mechanism.
27-09-2016