equal
deleted
inserted
replaced
23 # questions. |
23 # questions. |
24 # |
24 # |
25 |
25 |
26 # @test |
26 # @test |
27 # @bug 6888925 |
27 # @bug 6888925 |
28 # @modules java.base/sun.security.util |
|
29 # @requires os.family == "windows" |
28 # @requires os.family == "windows" |
30 # @run shell PublicKeyInterop.sh |
29 # @run shell PublicKeyInterop.sh |
31 # @summary SunMSCAPI's Cipher can't use RSA public keys obtained from other |
30 # @summary SunMSCAPI's Cipher can't use RSA public keys obtained from other |
32 # sources. |
31 # sources. |
33 # |
32 # |
60 -alias 6888925 \ |
59 -alias 6888925 \ |
61 -dname "cn=6888925,c=US" \ |
60 -dname "cn=6888925,c=US" \ |
62 -noprompt |
61 -noprompt |
63 |
62 |
64 echo |
63 echo |
65 echo "Running the test..." |
64 echo "Running the test..." |
66 ${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} -d . ${TESTSRC}\\PublicKeyInterop.java |
65 ${TESTJAVA}/bin/javac -XaddExports:java.base/sun.security.util=ALL-UNNAMED \ |
67 ${TESTJAVA}/bin/java ${TESTVMOPTS} PublicKeyInterop |
66 ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} -d . ${TESTSRC}\\PublicKeyInterop.java |
|
67 ${TESTJAVA}/bin/java -XaddExports:java.base/sun.security.util=ALL-UNNAMED \ |
|
68 ${TESTVMOPTS} PublicKeyInterop |
68 |
69 |
69 rc=$? |
70 rc=$? |
70 |
71 |
71 echo |
72 echo |
72 echo "Removing the temporary RSA keypair from the Windows-My store..." |
73 echo "Removing the temporary RSA keypair from the Windows-My store..." |