369 Commits

Author SHA1 Message Date
Felix Yang
7286216186 8183514: Remove intermittent key from httpclient test TimeoutOrdering and ErrorTest
Reviewed-by: dfuchs
2017-07-04 18:49:16 -07:00
Felix Yang
c33dc7513c 8182975: Mark http2/BasicTest.java and FixedThreadPoolTest.java as intermittently failing
Reviewed-by: rriggs
2017-06-29 18:42:01 -07:00
Michael McMahon
d9cfff236d 8182589: TLS SNI in new Java 9 client is not available
Reviewed-by: dfuchs
2017-06-29 11:10:30 +01:00
Felix Yang
444396a180 8178699: Fail to send async requests if server doesn't response the first one
Reviewed-by: dfuchs
2017-06-25 23:51:46 -07:00
Sean Coffey
4b631dd1a1 8182672: Java 8u121 on Linux intermittently returns null for MAC address
Reviewed-by: chegar, clanger, msheppar, vtewari
2017-06-23 17:43:38 +01:00
Lana Steuck
0d2c126339 Merge 2017-06-16 04:54:54 +00:00
Igor Ignatyev
f84b521220 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: alanb
2017-06-12 12:43:26 -07:00
Daniel Fuchs
18b1dfcafa 8181867: [tests] Reorganize EchoHandlers
This fix reorganize some test files and rename some test classes. Several classes named EchoHandler in the unnamed package are renamed to make it clear what classes (and sources) tests that use these EchoHandler implementations effectively depend on.

Reviewed-by: chegar
2017-06-09 16:52:07 +01:00
Daniel Fuchs
3d902cf92a 8180044: java/net/httpclient/ManyRequests.java failed due to timeout
Fixes several race conditions observed while testing.

Reviewed-by: michaelm, msheppar, prappo
2017-06-08 12:41:07 +01:00
Igor Ignatyev
ff3aa035f3 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:54:08 -07:00
Lana Steuck
ce477ddb3a Merge 2017-06-03 02:49:49 +00:00
Daniel Fuchs
aea187fdd2 8180279: java/net/httpclient/whitebox/Driver.java failed due to timeout
Fixed a race condition in RawChannelTest.java

Reviewed-by: prappo, michaelm
2017-05-25 11:54:42 +01:00
Michael McMahon
92ce207628 8180498: Remove httpclient internal APIs which supply ByteBuffers to read calls
Reviewed-by: chegar, dfuchs
2017-05-22 17:31:07 +01:00
Lana Steuck
594a034cbb Merge 2017-05-31 18:33:35 +00:00
Lana Steuck
dfd0cc3152 Merge 2017-05-31 17:47:58 +00:00
Igor Ignatyev
d0b5e23908 8181307: tests added/changed by 8166139 should be updated to use the latest testlibrary
Reviewed-by: rriggs
2017-05-31 10:41:07 -07:00
Igor Ignatyev
c85d273e7d 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 15:05:33 -07:00
Felix Yang
4f2e94d65a 8166139: Refactor java/net shell cases to java
Reviewed-by: chegar, rriggs
2017-05-30 07:03:33 -07:00
Igor Ignatyev
f8c5d25081 8180644: move jdk.testlibrary.NetworkConfiguration to the top level test library
Reviewed-by: duke
2017-05-19 13:33:47 -07:00
Lana Steuck
40ed54262c Merge 2017-05-19 04:17:50 +00:00
Michael McMahon
412db99011 8180303: Remove technote doc link from ProxySelector/B8035158.java test
Reviewed-by: chegar
2017-05-12 17:38:30 +01:00
Amy Lu
c18fe9b250 8085814: Move stream test library to the jdk test library area
8173414: Some testng tests check nothing in java util stream

Reviewed-by: psandoz
2017-05-12 12:53:50 +08:00
Lana Steuck
5d5921732e Merge 2017-05-11 20:22:54 +00:00
Mark Sheppard
a83a070a03 7155591: test/java/net/MulticastSocket/SetOutgoingIf.java fails on macOS
Reviewed-by: chegar, bpb
2017-05-11 15:05:32 +01:00
Pavel Rappo
c74eb4302e 8179021: Latest bugfixes to WebSocket/HPACK from the sandbox repo
Reviewed-by: dfuchs
2017-05-10 12:36:14 +01:00
Magnus Ihse Bursie
97df63049c 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:57:30 +02:00
Michael McMahon
c5c52df157 8179559: Solaris MulticastSocket issues
Reviewed-by: chegar
2017-05-08 14:04:27 +01:00
Michael McMahon
b0ddb372f0 8175814: Update default HttpClient protocol version and optional request version
Reviewed-by: chegar, dfuchs
2017-04-28 14:16:33 +01:00
Chris Hegarty
fdb24eea0b 8177536: Avoid Apple Peer-to-Peer interfaces in networking tests
Reviewed-by: michaelm, rriggs
2017-04-14 10:47:08 +01:00
Daniel Fuchs
4288d68f08 8178147: Race conditions in timeout handling code in http/2 incubator client
Timeout handling code (in particular cancel(IOException)) is modified to take into account cancellation arising before exchange implementation is established or response completable future is created. TimeoutEvent::compareTo method is modified to be consistent with TimeoutEvent::equals.

Reviewed-by: prappo, chegar, michaelm
2017-04-11 16:32:38 +01:00
Amy Lu
7e65c94ef9 8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java
Reviewed-by: alanb
2017-03-22 19:40:20 +08:00
Mark Sheppard
30790d8352 8175325: NetworkInterface.getInterfaceAddresses throws NPE when no addresses
Reviewed-by: chegar, martin
2017-03-07 22:35:45 +00:00
Pavel Rappo
191aad0e62 8164625: Pooled HttpConnection should be removed during close
Reviewed-by: dfuchs, michaelm
2017-02-24 17:05:00 +00:00
Chris Hegarty
5ae76b5084 8175261: Per-protocol cache setting not working for JAR URLConnection
Reviewed-by: dfuchs, michaelm
2017-02-24 10:37:30 +00:00
Sergey Kuksenko
4a259fb5dd 8175274: Fix httpclient asynchronous usage
Reviewed-by: dfuchs, michaelm
2017-02-21 11:08:34 +00:00
Paul Sandoz
50a683ef67 8174151: URLClassLoader no longer uses custom URLStreamHandler for jar URLs
Reviewed-by: alanb, chegar
2017-02-14 14:29:58 -08:00
Daniel Fuchs
28fc67ce7e 8174833: java/net/httpclient/http2/BasicTest.java always fails but always report success
Reviewed-by: michaelm
2017-02-13 17:18:48 +00:00
Michael McMahon
a7c0fa1045 8174716: java/net/httpclient/security/Driver.java failing in JDK 9
Reviewed-by: alanb
2017-02-10 09:55:19 +00:00
Daniel Fuchs
ea316f74e0 8173315: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java fails intermittently
Ensure that each test case creates a new server with a new local port number to preserve test isolation.

Reviewed-by: michaelm
2017-02-03 11:29:17 +00:00
Arno Zeller
4d92a188b2 8170868: DefaultProxySelector should use system defaults on Windows, MacOS and Gnome
Reviewed-by: chegar, simonis, clanger, stuefe, erikj
2017-02-02 10:28:47 +01:00
Sergei Kovalev
6792c8bb23 8173475: java/net/HttpURLConnection/SetAuthenticator tests have undeclared dependency on java.logging module
Reviewed-by: dfuchs
2017-02-01 16:31:38 +03:00
Michael McMahon
c89c526762 8163449: Allow per protocol setting for URLConnection defaultUseCaches
Reviewed-by: chegar, dfuchs
2017-01-12 18:02:48 +00:00
Vyom Tewari
7516f0284c 8168840: InetAddress.getByName() throws java.net.UnknownHostException no such interface when used with virtual interfaces on Solaris
Reviewed-by: chegar, clanger
2016-12-23 13:53:22 +05:30
Sergei Kovalev
88d37ce5fd 8170864: java/net/URLClassLoader/closetest/CloseTest.java has undeclared dependencies
Reviewed-by: chegar, dfuchs
2016-12-13 17:02:00 +03:00
Michael McMahon
dd620cb591 8170920: SO_RCVBUF and SO_SNDBUF options problem for network channels on MacOS
Reviewed-by: chegar, clanger
2016-12-12 14:40:56 +00:00
Daniel Fuchs
0a0e551eed 8171081: Put TimeoutOrderingTest in ProblemList for solaris-all
Reviewed-by: chegar
2016-12-12 13:34:10 +00:00
Michael McMahon
2de1b5ce26 8170648: Move java.net.http package out of Java SE to incubator namespace
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Co-authored-by: Anthony Vanelverdinghe <anthony.vanelverdinghe@gmail.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo, skuksenko
2016-12-09 11:35:02 +00:00
Felix Yang
c969db1c89 8169115: java/net/InetAddress/ptr/lookup.sh failed intermittently
Reviewed-by: dsamersoff
2016-12-08 07:21:50 -08:00
Felix Yang
2d28684636 8043838: Test java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java failed intermittently in nightly
Reviewed-by: chegar, dfuchs
2016-12-07 17:15:03 -08:00
Daniel Fuchs
31337809b0 8169495: Add a method to set an Authenticator on a HttpURLConnection
New public method java.net.HttpURLConnection::setAuthenticator allows to specify an authenticator to use with a given connection.

Reviewed-by: chegar
2016-12-02 13:18:50 +00:00