-
Bug
-
Resolution: Fixed
-
P4
-
1.1.8
-
1.2
-
sparc
-
solaris_2.5
Name: saC57035 Date: 07/12/99
[ This bug is not reproducible in JDK 1.2, it has been filed for tracking
purposes only, as the problem persists in 1.1.X. Feel free to close as
integrated in 1.2 ]
Below is short example:
------------ Test.java
import java.security.*;
class Test {
public static void main(String [] args) throws Exception {
KeyPairGenerator.getInstance("DSA", "SUN").generateKeyPair();
}
}
------------- Output(jdk1.1.8)
java.lang.NullPointerException
at sun.security.provider.DSAKeyPairGenerator.generatePandQ(DSAKeyPairGenerator.java:249)
at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:204)
at Test.main(Test.java:5)
-------------
======================================================================