808 Commits

Author SHA1 Message Date
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Valerie Peng
8d4f1ae8df 8136355: CKM_SSL3_KEY_AND_MAC_DERIVE no longer available by default on Solaris 12
Enhanced to detect and throw InvalidAlgorithmParameterException if SSLv3 is requested but unsupported

Reviewed-by: xuelei
2016-09-23 01:08:24 +00:00
Erik Joelsson
0c124a911a Merge 2016-09-21 16:22:41 +02:00
Sergei Kovalev
1c751c11fb 8166450: smartcardio related tests failed on compilation during execution with jtreg tool
Reviewed-by: weijun
2016-09-21 17:09:41 +03:00
Alan Burlison
4e8fe41e35 8165161: Solaris: /usr/ccs /opt/sfw and /opt/csw are dead, references should be expunged
Reviewed-by: rriggs, erikj
2016-09-21 14:22:11 +02:00
John Jiang
73fbb10440 8165566: sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently: Address already in use
It takes every server to be allocated a free port.

Reviewed-by: chegar
2016-09-20 10:32:52 +08:00
Artem Smotrakov
96a47e15da 8163924: SSLEngineBadBufferArrayAccess.java fails intermittently with Unrecognized SSL message
Reviewed-by: xuelei
2016-09-15 11:07:20 -07:00
Sergei Kovalev
0f9675b98e 8165689: Fix module dependencies for sun/security/pkcs11/* tests
Reviewed-by: mullan
2016-09-15 13:03:03 +03:00
Sibabrata Sahoo
a210d98c0c 8165825: Remove the intermittent keyword from sun/security/krb5/auto/Unreachable.java
Remove the intermittent keyword

Reviewed-by: weijun
2016-09-15 01:10:36 -07:00
Sibabrata Sahoo
08f7e312b1 8165660: Remove the intermittent keyword from sun/security/krb5/auto/MaxRetries.java
Remove the intermittent keyword

Reviewed-by: weijun
2016-09-15 01:03:42 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
John Jiang
08d5007708 8077138: Some PKCS11 tests fail because NSS library is not initialized
Re-building NSS libraries with VS2013 to make the new libraries to depend on msvcr120.dll, which is already distributed with JDK 9

Reviewed-by: vinnie
2016-09-14 11:06:26 +08:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Sean Coffey
9807f64dfc 8164846: CertificateException missing cause of underlying exception
Reviewed-by: xuelei
2016-09-01 11:01:47 +01:00
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Sibabrata Sahoo
3d17ae2b1d 8164922: sun/security/provider/SecureRandom/AutoReseed.java failed with timeout in Ubuntu Linux
The test timeout waiting to get seed in an exhausted Linux platform.

Reviewed-by: weijun
2016-08-31 08:44:12 -07:00
Sibabrata Sahoo
2822e9e2d6 8015595: Test sun/security/krb5/auto/Unreachable.java fails with Timeout error
Unreachable.java was getting timeout due to PortUnreachableException was not thrown

Reviewed-by: weijun
2016-08-31 08:34:59 -07:00
Kim Barrett
7bddef3ed0 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:46:02 -04:00
Svetlana Nikandrova
af8dc755fd 8164533: sun/security/ssl/SSLSocketImpl/CloseSocket.java failed with "Error while cleaning up threads after test"
Reviewed-by: xuelei
2016-08-29 20:55:06 +03:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Sibabrata Sahoo
6ab4f9a732 8006690: sun/security/krb5/auto/BadKdc* tests fails intermittently
Some of test for bad KDC failed intermittently

Reviewed-by: weijun
2016-08-26 01:20:30 -07:00
Weijun Wang
dfa00059e2 8164656: krb5 does not retry if TCP connection timeouts
Reviewed-by: xuelei
2016-08-24 13:32:00 +08:00
Alejandro Murillo
ae1273fa3a Merge 2016-08-19 12:17:32 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Weijun Wang
f4ec2171f2 8164437: Test for JDK-8042900
GSSContext is of a different type when jdk.security.jgss is not loaded

Reviewed-by: xuelei
2016-08-20 17:10:17 +08:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Weijun Wang
8b6f2f0723 8087144: sun/security/krb5/auto/MaxRetries.java fails with Retry count is -1 less
8153146: sun/security/krb5/auto/MaxRetries.java failed with timeout

Reviewed-by: xuelei
2016-08-17 10:08:18 +08:00
Weijun Wang
68ec99774e 8141411: keytool can wrongly parse the start date value given by the -startdate option
Reviewed-by: xuelei
2016-08-16 21:28:10 +08:00
Xue-Lei Andrew Fan
abe8a9eae5 8162362: Introduce system property to control enabled ciphersuites
Reviewed-by: coffeys, mullan
2016-08-13 02:21:30 +00:00
Valerie Peng
805fa70745 8154113: java.security.AccessControlException: access denied ("java.security.SecurityPermission" "authProvider.SunMSCAPI")
Granted security permission "authProvider.SunMSCAPI" to SunMSCAPI provider

Reviewed-by: mullan
2016-08-12 00:47:06 +00:00
Weijun Wang
a347e23de0 8133910: Some sun/security/tools tests failed
Reviewed-by: xuelei
2016-08-11 13:10:54 +08:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Jamil Nimeh
b6e6759ba9 8132943: ServerHandshaker may select non-empty OCSPStatusRequest structures when Responder ID
Select only OCSPStatusRequest objects that have no responder IDs in them when deciding whether to do OCSP stapling and what form of stapling.

Reviewed-by: xuelei
2016-08-09 22:31:41 -07:00
Weijun Wang
359795c50d 8162739: Create new keytool option to access cacerts file
Reviewed-by: erikj, vinnie, mullan
2016-08-10 11:30:53 +08:00
Weijun Wang
ebf98a1654 8163489: Avoid using Utils.getFreePort() in TsacertOptionTest.java test
Reviewed-by: chegar
2016-08-10 11:21:01 +08:00
Tim Du
d43f127302 8160337: Remove intermittent key from sun/security/pkcs11/rsa/TestKeyPairGenerator.java
Reviewed-by: rhalade, xuelei
2016-08-02 10:36:33 -07:00
Weijun Wang
3d915b8f78 8162752: keytool -importkeystore should probe srcstoretype if not specified
Reviewed-by: mullan
2016-07-31 09:40:17 +08:00
Weijun Wang
dd3b3b2ba5 8159528: Deprivilege java.security.jgss, jdk.security.jgss and jdk.security.auth
Reviewed-by: mchung, mullan
2016-07-31 09:37:02 +08:00
Sean Mullan
663f6eb830 8159752: Grant de-privileged module permissions by default with java.security.policy override option
Reviewed-by: alanb, chegar, mchung, tbell, weijun
2016-07-29 19:00:54 -04:00
Weijun Wang
1931ac4196 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
Reviewed-by: valeriep, mchung, mullan
2016-07-12 09:41:49 +08:00
Xue-Lei Andrew Fan
e78fd8d72e 8148516: Improve the default strength of EC in JDK
Reviewed-by: valeriep
2016-07-09 05:56:18 +00:00
Rajan Halade
dd3db000a7 8144559: sun/security/mscapi/SignUsingNONEwithRSA.sh failed intermittently
Reviewed-by: vinnie
2016-07-08 10:15:38 -07:00
Ivan Gerasimov
2e894aee9a 8160518: Semicolon is not recognized as comment starting character (Kerberos)
Reviewed-by: weijun
2016-07-08 19:38:17 +03:00
John Jiang
0eca75cd93 8157667: sun/security/x509/URICertStore/ExtensionsWithLDAP.java has to be updated due to JDK-8134577
Resolving hosts by proxy instead of name service

Reviewed-by: mullan
2016-07-07 01:31:31 -07:00
Artem Kosarev
90e4430c17 8135114: sun/security/krb5/auto tests failed on machine with TR locale
Reviewed-by: xuelei
2016-07-06 09:54:07 -07:00
Sibabrata Sahoo
b96909178b 8159861: sun/security/tools/keytool/DefaultSignatureAlgorithm.java timeout
Reviewed-by: xuelei
2016-07-05 10:11:42 -07:00
Sibabrata Sahoo
fc19d91719 8160341: Remove intermittent key from TestDSAGenParameterSpec.java
Reviewed-by: xuelei
2016-07-05 10:10:07 -07:00
Sibabrata Sahoo
11ecd00506 8160624: sun/security/tools/keytool/printssl.sh failed with "Socket closed"
Reviewed-by: weijun
2016-07-05 10:04:16 -07:00
Ivan Gerasimov
7a41a43d84 8153948: sun/security/mscapi/ShortRSAKey1024.sh fails with "Field length overflow"
Reviewed-by: coffeys, xuelei
2016-07-04 16:25:11 +03:00
Anthony Scarpino
50e42d2212 8159180: Remove default setting for jdk.security.provider.preferred
Reviewed-by: xuelei
2016-07-02 13:51:20 -07:00