Commit Graph

98 Commits

Author SHA1 Message Date
Sergei Kovalev
49044c6d63 8173478: SSL related tests failes with message: "java.security.NoSuchAlgorithmException: EC KeyFactory not available"
Reviewed-by: xuelei
2017-01-30 13:11:56 +03:00
John Jiang
ab3aa4bfcb 8171900: javax/net/ssl/SSLSession/SessionTimeOutTests.java failed with "SSLHandshakeException: Remote host terminated the handshake"
The fix takes some code patterns from SSLSocketTemplate to deal with possible SSLHandshakeException and SocketTimeoutException, and it also resolves a potential mismatch on the connections between the clients and the servers.

Reviewed-by: xuelei
2017-01-24 18:41:36 -08:00
Xue-Lei Andrew Fan
6e132741b6 8165071: Expand TLS support
Reviewed-by: jnimeh, ahgross, asmotrak
2016-09-13 00:20:17 +00:00
Xue-Lei Andrew Fan
ad76f31ded 8172273: SSLEngine.unwrap fails with ArrayIndexOutOfBoundsException
Reviewed-by: wetmore
2017-01-06 01:09:03 +00:00
Tim Du
f1eff88c3b 8168769: javax/net/ssl/TLSv12/DisabledShortRSAKeys.java timed out
Reviewed-by: coffeys, xuelei
2017-01-03 22:26:51 -08:00
John Jiang
f75520730b 8168935: sun/security/ssl/SSLContextImpl/TrustTrustedCert.java failed Intermittently
TrustTrustedCert.java uses SSLSocketTemplate to avoid timeout failure

Reviewed-by: xuelei
2016-12-20 23:09:27 -08:00
Vinnie Ryan
bd0a13fa21 8170282: Enable ALPN parameters to be supplied during the TLS handshake
Reviewed-by: wetmore, xuelei
2016-12-16 14:32:51 +00:00
John Jiang
1b5542196e 8164595: javax/net/ssl/FixingJavadocs/SSLSessionNulls.java fails intermittently with javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
Takes advantage of new SSLSocketTemplate to resolve this issue

Reviewed-by: xuelei
2016-12-14 19:23:08 -08:00
Xue-Lei Andrew Fan
7f4cb73e6d 8170329: New SSLSocket testing template
Reviewed-by: asmotrak, mullan
2016-12-09 17:21:50 +00:00
Tim Du
ea780d5219 8157529: Remove intermittent key from javax/net/ssl/DTLS/CipherSuite.java
Reviewed-by: asmotrak
2016-12-08 23:21:54 -08:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Roger Riggs
086115b975 8169416: SSLSessionImpl finalize overhead
Reviewed-by: xuelei, bpb
2016-11-23 10:20:05 -05:00
Artem Smotrakov
3d0c012270 8168969: Merge SSLSocketSample and SSLSocketTemplate
Reviewed-by: xuelei
2016-11-16 12:50:29 -08:00
Xue-Lei Andrew Fan
1c628411df 8169362: Interop automated testing with Chrome
Reviewed-by: wetmore, jnimeh, asmotrak
2016-11-10 08:59:34 +00:00
Xue-Lei Andrew Fan
f683694e4f 8169318: Dump the reproduced packet in DTLSOverDatagram.java
Reviewed-by: mullan
2016-11-08 06:22:31 +00:00
Jamil Nimeh
c535c8a446 8133632: javax.net.ssl.SSLEngine does not properly handle received SSL fatal alerts
Upon receiving a fatal alert, make sure the input and output queues are closed and the engine is in the NOT_HANDSHAKING state.

Reviewed-by: xuelei
2016-11-03 15:18:16 -07:00
Xue-Lei Andrew Fan
b8904d34fe 8167680: DTLS implementation bugs
Reviewed-by: jnimeh, asmotrak
2016-10-29 13:34:53 +00:00
Artem Smotrakov
a535d2d833 8166530: sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java fails intermittently
Reviewed-by: chegar
2016-10-20 11:23:41 -07:00
Artem Smotrakov
5db49c3eb2 8164591: sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java failed with SSLHandshakeException
Reviewed-by: xuelei
2016-09-27 11:34:45 -07:00
Sergei Kovalev
fc5df42634 8166032: Fix module dependencies for javax.SSL tests
Reviewed-by: xuelei, weijun
2016-09-14 17:28:17 +03: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
Artem Smotrakov
aacb739bbd 8162484: javax/net/ssl/Stapling/SSLSocketWithStapling.java test fails intermittently with "Address already in use" error
Reviewed-by: xuelei, jnimeh
2016-08-15 16:32:41 -07:00
Xue-Lei Andrew Fan
d39fdb1811 8161106: Improve SSLSocket test template
Reviewed-by: weijun, jnimeh, asmotrak
2016-07-25 05:39:05 +00: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
Sibabrata Sahoo
0a0c30f0a3 8160940: Enable debug log in javax/net/ssl/HttpsURLConnection/Equals.java to track JDK-8160210
Reviewed-by: xuelei
2016-07-07 09:50:35 -07:00
Tim Du
3e0395eb84 8160339: Remove intermittent key from javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
Reviewed-by: xuelei
2016-07-06 01:50:34 -07:00
Tim Du
766c7ad4c6 8160333: Remove intermittent key from javax/net/ssl/TLSv12/ShortRSAKey512.java
Reviewed-by: xuelei
2016-07-05 23:43:59 -07:00
Jamil Nimeh
ec5c0f3089 8143302: javax/net/ssl/Stapling/SSLSocketWithStapling.java fails intermittently: Server died
Fixes a file descriptor leak in the test and a thread exhaustion issue in the StatusResponseManager in JSSE.

Reviewed-by: xuelei
2016-06-30 00:09:06 -07:00
Artem Smotrakov
5856fc0800 8152745: javax/net/ssl/TLS/TestJSSE.java fails intermittently: Unsupported or unrecognized SSL message
Reviewed-by: xuelei
2016-06-22 09:33:16 -07:00
Felix Yang
193d350e55 8157530: Remove intermittent key from javax/net/ssl/DTLS/WeakCipherSuite.java
Reviewed-by: xuelei
2016-06-21 20:20:14 -07:00
Artem Smotrakov
a1025d0535 8049314: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java fails intermittently with "Unexpected EOF" message
Reviewed-by: xuelei
2016-06-20 17:06:27 -07:00
Artem Smotrakov
744c257015 8159501: ShortRSAKey512.java intermittently times out
Reviewed-by: xuelei
2016-06-17 19:45:06 -07:00
Joe Darcy
ec44f8917b 8159502: Mark ShortRSAKey512.java as intermittently failing
Reviewed-by: xuelei
2016-06-14 23:02:43 -07:00
Artem Smotrakov
aa221e3a63 8159038: javax/net/ssl/SSLSession/SessionCacheSizeTests.java failed with java.net.SocketException: Address already in use
Reviewed-by: xuelei
2016-06-14 10:27:23 -07:00
Bradford Wetmore
a1ebe17019 8158978: ALPN not working when values are set directly on a SSLServerSocket
Reviewed-by: xuelei
2016-06-08 11:28:13 -07:00
Artem Smotrakov
4880e22424 8129389: javax/net/ssl/DTLS tests fail intermittently
Reviewed-by: xuelei
2016-05-20 09:40:29 -07:00
Artem Smotrakov
2100b2e6c2 8134267: javax/net/ssl/TLS/TestJSSE.java fails intermittently with BindException: Address already in use
Reviewed-by: chegar
2016-05-19 09:16:59 -07:00
Xue-Lei Andrew Fan
f3c9c10b7e 8157035: Use stronger algorithms and keys for JSSE testing
Reviewed-by: weijun, jnimeh
2016-05-18 14:47:28 +00:00
Felix Yang
c594c87387 8155088: Fix module dependencies in java/sql/* and javax/* tests
Reviewed-by: alanb
2016-05-17 02:34:56 -07:00
Rajan Halade
5cd35e69e2 8155049: New tests from 8144566 fail with "No expected Server Name Indication"
Reviewed-by: xuelei
2016-05-16 10:36:51 -07:00
Xue-Lei Andrew Fan
741bd9b060 8144566: Custom HostnameVerifier disables SNI extension
Reviewed-by: mullan, wetmore
2016-04-22 09:27:35 +00:00
Rajan Halade
dc0f21b366 8154196: Mark javax/net/ssl/DTLS/CipherSuite.java as intermittently failing
Reviewed-by: xuelei
2016-04-13 16:08:43 -07:00
Rajan Halade
cfb375b438 8153829: javax/net/ssl/Stapling/HttpsUrlConnClient.java fails intermittently with NullPointerException
Reviewed-by: xuelei, jnimeh
2016-04-12 09:37:46 -07:00
Mark Sheppard
8906a1381d 8134577: Eliminate or standardize a replacement for sun.net.spi.nameservice.NameServiceDescriptor
Reviewed-by: chegar, alanb
2016-04-11 03:00:50 +01:00
Chris Hegarty
25b68378f6 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 20:12:13 +01:00
Artem Smotrakov
2ffd1ace91 8152798: Mark WeakCipherSuite.java as intermittently failing
Reviewed-by: xuelei
2016-03-25 16:50:20 -07:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Xue-Lei Andrew Fan
cb8aa405a6 8152221: Use try-with-resource in test templates
Reviewed-by: weijun
2016-03-20 00:03:43 +00:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00