-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: 8u5
-
Component/s: security-libs
FULL PRODUCT VERSION :
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
In the JavaDoc
KerberosKey.getPrincipal does not throw any exception
in the implementation, it does throw
throw new IllegalStateException("This key is no longer valid");
The same issue exists for some of the other getters as well
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
look at the code
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
expect the javadoc to match the implementation
ACTUAL -
the javadoc does not match the implementation
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
In the JavaDoc
KerberosKey.getPrincipal does not throw any exception
in the implementation, it does throw
throw new IllegalStateException("This key is no longer valid");
The same issue exists for some of the other getters as well
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
look at the code
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
expect the javadoc to match the implementation
ACTUAL -
the javadoc does not match the implementation
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8043071 Expose session key and KRB_CRED through extended GSS-API
-
- Closed
-