50 Commits

Author SHA1 Message Date
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
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
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
dfd0cc3152 Merge 2017-05-31 17:47:58 +00:00
Igor Ignatyev
c85d273e7d 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 15:05:33 -07: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
b0ddb372f0 8175814: Update default HttpClient protocol version and optional request version
Reviewed-by: chegar, dfuchs
2017-04-28 14:16:33 +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
Pavel Rappo
191aad0e62 8164625: Pooled HttpConnection should be removed during close
Reviewed-by: dfuchs, michaelm
2017-02-24 17:05:00 +00:00
Sergey Kuksenko
4a259fb5dd 8175274: Fix httpclient asynchronous usage
Reviewed-by: dfuchs, michaelm
2017-02-21 11:08:34 +00: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
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
Sergei Kovalev
12c36f7ab7 8169002: Several java/net/httpclient have undeclared dependency on java.logging module
Reviewed-by: chegar, rriggs, dfuchs
2016-11-03 16:19:29 +03:00
Sergei Kovalev
bf41569209 8166791: Fix module dependencies for networking component tests
Reviewed-by: chegar, alanb
2016-10-03 18:33:34 +03:00
Sergei Kovalev
3b0d7a4511 8166285: Missing dependencies java.httpclient for tests from java/net pachage
Reviewed-by: chegar
2016-09-20 12:56:54 +03:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Felix Yang
616336b6c2 8163561: Add a test for Proxy Authentication in HTTP/2 Client API
Reviewed-by: chegar
2016-08-26 08:33:28 -07: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
Pavel Rappo
9118632bbd 8161474: Extract interface from java.net.http.RawChannel
Reviewed-by: michaelm
2016-07-18 13:43:49 +01:00
Pavel Rappo
27036a761f 8160218: HPack decoder fails when processing header in multiple ByteBuffers
Reviewed-by: michaelm
2016-06-29 10:19:48 +01:00
Pavel Rappo
e0c6d91241 8156742: Miscellaneous WebSocket API improvements
Reviewed-by: chegar, rriggs
2016-06-21 18:51:18 +01:00
Pavel Rappo
763be5ec14 8159039: sun/net/httpclient/hpack/HeaderTableTest.java fails on some locales
Reviewed-by: chegar
2016-06-13 15:48:17 +01:00
John Jiang
c5b3a7c036 8151913: Fix module dependencies in java/net tests
Module dependency declaration for java/net/* tests

Reviewed-by: alanb
2016-06-12 21:55:20 -07:00
Pavel Rappo
7c857909cf 8156693: Improve usability of CompletableFuture use in WebSocket API
Reviewed-by: rriggs
2016-06-08 15:19:58 +01:00
Felix Yang
991c9b0593 8157816: Mark 4 httpclient tests as intermittently failing
Reviewed-by: chegar
2016-05-30 17:49:04 -07:00
Michael McMahon
998f8f5911 8153142: Cannot resolve multiple values from one response header
Reviewed-by: rriggs
2016-05-23 12:57:40 +01:00
Michael McMahon
ab880cb4af 8157105: HTTP/2 client hangs in blocking mode if an invalid frame has been received
Reviewed-by: rriggs
2016-05-23 12:38:48 +01:00
Artem Smotrakov
5cf7ba5687 8157107: HTTP/2 client may fail with NPE if additional logging enabled
Reviewed-by: michaelm
2016-05-18 16:39:08 +01:00
Artem Smotrakov
e7dc48db5b 8156710: HttpTimeoutException should be thrown if server doesn't respond
Reviewed-by: michaelm
2016-05-13 11:32:41 -07:00
Michael McMahon
6ce3711133 8156801: java/net/httpclient/security/Driver.java failed with RuntimeException: Non zero return value
Reviewed-by: chegar
2016-05-12 16:06:17 +01:00
Pavel Rappo
b962e07463 8087113: Websocket API and implementation
Reviewed-by: chegar
2016-05-09 23:33:09 +01:00
Michael McMahon
1eae872553 8155888: java/net/httpclient/QuickResponses.java intermittently failed with java.util.ConcurrentModificationException
Reviewed-by: chegar
2016-05-09 10:28:24 +01:00
Michael McMahon
ba6c1c4a52 8153572: [JEP 110] IOException (connection closed for reading) is thrown when try to connect HTTPS service
Reviewed-by: rriggs
2016-05-06 11:30:41 +01:00
Michael McMahon
0cf5c57454 8155928: Remove hardcoded port numbers from httpclient/Security.java test
Reviewed-by: chegar, rriggs
2016-05-05 11:37:18 +01:00
Michael McMahon
bab1d3912a 8087124: HTTP/2 implementation
Reviewed-by: chegar
2016-04-30 00:30:31 +01:00
Pavel Rappo
1b0e8a4e73 8153353: HPACK implementation
Reviewed-by: chegar, rriggs
2016-04-18 19:40:48 +01: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
Michael McMahon
b9616807fc 8151299: Http client SelectorManager overwriting read and write events
Reviewed-by: chegar
2016-03-09 13:37:30 +00:00
Michael McMahon
a3aa848719 8151441: Completion result in httpclient Exchange.java lost
Reviewed-by: chegar
2016-03-09 12:11:31 +00:00
Michael McMahon
095027bd74 8087112: HTTP API and HTTP/1.1 implementation
Reviewed-by: alanb, chegar, coffeys, psandoz, rriggs
2016-02-25 23:14:22 +00:00