JDK-6761072 : new krb5 tests fail on multiple platforms
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.
There are 2 reasons found:
1. If the system has no krb5.conf file, tests fail. This can be fixed by always accessing krb5.conf related methods after a krb5.conf is created.
2. Due to different DNS configurations, "localhost" may be canonicalized to "localhost", "127.0.0.1", or even "localhost.localdomain". This can be fixed by first trying out the canonicalized form and use this form in the service principal name.