-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
generic
-
generic
The specification of the methods
getInstance(String protocol)
getInstance(String protocol, String provider)
getInstance(String protocol, Provider provider)
of the SSLContext class doesn't state that methods throw NullPointerException.
But these methods throw NullPointerException if the protocol arfument is null.
Not that jdk 1.4.2 correctly throws NoSuchAlgorithmException.
getInstance(String protocol)
getInstance(String protocol, String provider)
getInstance(String protocol, Provider provider)
of the SSLContext class doesn't state that methods throw NullPointerException.
But these methods throw NullPointerException if the protocol arfument is null.
Not that jdk 1.4.2 correctly throws NoSuchAlgorithmException.
- duplicates
-
JDK-4985694 Incomplete spec for most of the getInstances
- Closed