Daniel Fuchs
94a99ab9e5
8243246: HTTP Client sometimes gets java.io.IOException -> Invalid chunk header byte 32
...
The HTTP/1 chunked body parser is updated to discard chunk extensions
Reviewed-by: chegar, alanb
2020-04-24 16:54:30 +01:00
Prasanta Sadhukhan
efba976cfb
Merge
2020-04-11 10:32:17 +05:30
Prasanta Sadhukhan
6b0b851a7c
Merge
2020-04-10 11:47:09 +05:30
Jim Laskey
d9bf934831
8241742: Remove the preview status for methods introduced for Text Blocks
...
Reviewed-by: psandoz, chegar, alanb
2020-04-09 10:55:01 -03:00
Naoto Sato
51a5e9ca3c
8242010: Upgrade IANA Language Subtag Registry to Version 2020-04-01
...
Reviewed-by: rriggs, joehw
2020-04-08 09:50:03 -07:00
Sergey Bylokhov
a62b24f573
8241829: Cleanup the code for PrinterJob on windows
...
Reviewed-by: prr, aivanov
2020-04-08 02:03:56 -07:00
Sergey Bylokhov
8eb7c3efb1
8196019: java/awt/Window/Grab/GrabTest.java fails on Windows
...
Reviewed-by: prr, jdv
2020-04-06 20:27:40 -07:00
Roger Riggs
50ed53076f
8225319: Remove rmic from the set of supported tools
...
Reviewed-by: erikj, alanb, lancea, jjg, amlu
2020-04-08 09:22:08 -04:00
Patrick Concannon
378aef32ab
8240533: Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0
...
Fix adds checks for port == 0 to the send and connect methods in DatagramSocket and DatagramChannelImpl
Reviewed-by: alanb, chegar, dfuchs, lancea
2020-04-07 16:21:01 +01:00
Rahul Yadav
86722cb038
8239594: jdk.tls.client.protocols is not respected
...
8239595: ssl context version is not respected
The java.net.HttpClient is updated to no longer override any default selected protocols in the SSLContext, in the absence of any SSLParameters explicitly supplied to the HttpClient.builder.
Reviewed-by: chegar, dfuchs
2020-04-10 10:05:33 +01:00
Patrick Concannon
469c13a86d
8243488: Add tests for set/get SendBufferSize and getReceiveBufferSize in DatagramSocket
...
Tests added for methods: setSendBufferSize(int), getSendBufferSize(), and getReceieveBufferSize() to increase test coverage in the DatagramSocket class
Reviewed-by: alanb, chegar, dfuchs
2020-05-05 18:34:39 +01:00
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Alan Bateman
0efacb3eed
8244292: Headful clients failing with --illegal-access=deny
...
Reviewed-by: prr
2020-05-04 19:07:41 +01:00
Jorn Vernee
31041d406a
8241100: Make Boolean, Character, Byte, and Short implement Constable
...
Reviewed-by: jrose, briangoetz, psandoz
2020-05-04 09:41:01 -07:00
Patrick Concannon
8e21a2a1e4
8237890: DatagramPacket::getSocketAddress doesn't specify what happens if address or port are not set
...
This fix changes the default port of a DatagramPacket from -1 to 0, which changes the behaviour of calling getSocketAddress with no port set from throwing an IAE to returning an InetSocketAddress representing any local address with port 0.
Reviewed-by: alanb, chegar, dfuchs
2020-04-22 12:34:09 +01:00
Vicente Romero
78a0baa57c
8241627: Updating ASM to 8.0.1 for JDK 15
...
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Reviewed-by: psandoz, chegar
2020-04-21 21:25:26 -04:00
Mandy Chung
1c6ca09b02
8238195: Lookup::defineClass should link the class to match the specification
...
Reviewed-by: alanb, chegar
2020-04-21 07:09:18 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Magnus Ihse Bursie
48569d9da0
8243156: Fix deprecation and unchecked warnings in microbenchmark
...
Reviewed-by: erikj, redestad
2020-04-21 13:52:32 +02:00
Daniil Titov
db8757ad12
8231585: java/lang/management/ThreadMXBean/MaxDepthForThreadInfoTest.java fails with java.lang.NullPointerException
...
Reviewed-by: dholmes, cjplummer, sspitsyn
2020-04-20 09:24:47 -07:00
Daniel Fuchs
da1abd18db
8238270: java.net HTTP/2 client does not decrease stream count when receives 204 response
...
The HTTP/2 Stream is updated to register a trivial data subscriber in case of 204 so that the END_STREAM is correctly processed.
Reviewed-by: chegar
2020-04-20 13:15:45 +01:00
Philipp Kunz
455eaca215
8241055: Regex Grapheme Matcher Performance Depends too much on Total Input Sequence Size
...
Reviewed-by: naoto
2020-04-16 16:09:47 -07:00
Sean Mullan
3efd000036
8242565: Policy initialization issues when the denyAfter constraint is enabled
...
Reviewed-by: weijun
2020-04-16 09:48:32 -04:00
Henry Jen
0278846eaa
Merge
2020-04-14 23:11:49 +00:00
Brian Burkhalter
447d6499f1
8242292: (fs) FileSystems.getFileSystem(URI) should throw IAE if the URI scheme is null
...
Reviewed-by: lancea, alanb
2020-04-13 10:16:38 -07:00
Per Lidén
2e4783411e
8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
...
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Alexey Bakhtin
76d534986b
8241960: The SHA3 message digests impl of SUN provider are not thread safe after cloned
...
Fix sun.security.provider.SHA3 class to correctly clone its lanes field
Reviewed-by: valeriep
2020-04-03 22:39:00 +00:00
Jaikiran Pai
59af1c2af4
8241138: http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector
...
Reviewed-by: dfuchs, chegar
2020-03-24 15:47:51 +05:30
Daniel Fuchs
f541970b31
8241786: Improve heuristic to determine default network interface on macOS
...
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.
Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Chris Hegarty
9a69bb807b
8242044: Add basic HTTP/1.1 support to the HTTP/2 Test Server
...
Reviewed-by: dfuchs, michaelm
2020-04-03 07:27:53 +01:00
Chris Hegarty
61940fe4ce
8241988: DatagramSocket incorrectly caches the first set of socket options
...
Reviewed-by: msheppar, dfuchs, alanb
2020-04-03 07:16:35 +01:00
Chris Hegarty
c6b22388b7
8241921: Remove leftover diagnostic from test/jdk/java/io/Serializable/records/SerialPersistentFieldsTest.java
...
Reviewed-by: lancea
2020-04-02 12:33:53 +01:00
Tagir F. Valeev
0386b7d0c3
8176894: Provide specialized implementation for default methods putIfAbsent, computeIfAbsent, computeIfPresent, compute, merge in TreeMap
...
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Reviewed-by: martin, stuefe, rriggs
2020-04-02 05:44:04 +00:00
Joe Darcy
916f00acc1
8241374: add Math.absExact
...
Reviewed-by: smarks, chegar, bpb
2020-03-30 13:49:02 -07:00
Daniel Fuchs
5ddbcb7a51
8241336: Some java.net tests failed with NoRouteToHostException on MacOS with special network configuration
...
NetworkConfiguration updated to skip interfaces that have only IPv6 link local addresses.
Reviewed-by: alanb, chegar
2020-03-27 12:42:03 +00:00
Jesper Wilhelmsson
3dcd1c1ab0
Merge
2020-07-09 04:32:30 +02:00
Andrew Leonard
d42f541dc3
8248231: deserializeLambda created with wrong encoding if platform encoding not UTF-8
...
Reviewed-by: vromero
2020-07-08 09:23:59 -04:00
Jesper Wilhelmsson
c782d0e486
Merge
2020-07-07 23:42:50 +02:00
Jesper Wilhelmsson
e58423796e
Merge
2020-07-07 03:12:11 +02:00
Brian Burkhalter
9cadf1a004
8246282: [REDO] JDK-8245121 (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
...
Reviewed-by: psandoz, alanb
2020-06-04 11:39:39 -07:00
Chris Hegarty
f1e1cb7055
8246095: Tweaks to memory access API
...
Add more user friendly API points to the foreign memory acesss API
Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Chris Hegarty
eec7750e55
8238763: ObjectInputStream readUnshared method handling of Records
...
Reviewed-by: rriggs
2020-06-03 15:46:53 +01:00
Naoto Sato
d347d2ebf9
8246261: TCKLocalTime.java failed due to "AssertionError: expected [18:14:22] but found [18:14:23]"
...
Reviewed-by: lancea, joehw
2020-06-02 13:49:47 -07:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
Mandy Chung
5e5880d4f1
8245061: Lookup::defineHiddenClass should throw ClassFormatError if this_class is not Class_info structure
...
8245432: Lookup::defineHiddenClass should throw UnsupportedClassVersionError if bytes are of an unsupported major or minor version
8245596: Clarify Lookup::defineHiddenClass spec @throws IAE if the bytes has ACC_MODULE flag set
Reviewed-by: alanb, dholmes
2020-06-01 13:19:06 -07:00
Claes Redestad
1f698a35f2
8246152: Improve String concat bootstrapping
...
Reviewed-by: forax, psandoz
2020-06-01 22:04:22 +02:00
Phil Race
38716935d2
8240342: Custom composite is ignored when printing an opaque image to a page
...
Reviewed-by: serb, psadhukhan
2020-04-03 15:00:41 -07:00
Sergey Bylokhov
978120f46a
8241808: [TESTBUG] The JDK-8039467 bug appeared on macOS
...
Reviewed-by: kizune, pbansal
2020-03-31 19:19:25 -07:00
Pankaj Bansal
1ef1131ab1
8241791: [TESTBUG] Test failing with exception "java.lang.UnsupportedOperationException"
...
Reviewed-by: serb
2020-03-30 12:06:06 +05:30
Prasanta Sadhukhan
ef335c75e3
Merge
2020-03-22 09:46:15 +05:30