JDK-8036971 : krb5.conf does not accept directive lines before the first section
  • Type: Bug
  • Component: security-libs
  • Sub-Component: org.ietf.jgss:krb5
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-03-10
  • Updated: 2016-08-26
  • Resolved: 2014-03-10
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 8 JDK 9
8u20Fixed 9 b06Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
In JDK 8, if there is a directive line before the first section of a krb5.conf file, say,

  include /path/to/another/file
  [libdefaults]
  default_realm = R

the parsing will fail. This is a regression after JDK-7184246.
Comments
JDK-8029994 is about supporting include/includedir directives and ignoring other unknown ones. However I cannot guarantee when it will be finished and whether it can be backported to 8u, so a fix is still needed.
10-03-2014