JDK-8054817 : File ccache only recognizes Linux and Solaris defaults
  • Type: Bug
  • Component: security-libs
  • Sub-Component: org.ietf.jgss:krb5
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-08-11
  • Updated: 2015-02-02
  • Resolved: 2014-08-19
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 7 JDK 8 JDK 9
7u80Fixed 8u40Fixed 9 b28Fixed
Description
In FileCredentialsCache, the code that locates the default FILE: ccache is surrounded by

            if (osname.startsWith("SunOS") ||
                (osname.startsWith("Linux"))) {

This is not correct. It should apply to all Unix-like systems. 
Comments
Code looks good , regression test could pass in result: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=632205.CORELIBS-JDK-NIGHTLY-JTREG-16
21-11-2014