On Fri, 1 Sep 2023 08:21:13 GMT, Per Minborg wrote:
> This PR proposes adding a new method to BitSet that provides an immutable
> snapshot of the set in the form of an `IntPredicate`.
>
> The predicate is eligible for constant folding.
>
> Here are some classes in the JDK that would benefit di
On Mon, 4 Sep 2023 16:44:24 GMT, Daniel Fuchs wrote:
>> I don't know the history but it is very old code and just to be on safer
>> side i did the same changes as per getInputStream0(). Looking from out side
>> wrapping the 'RuntimeException' into another 'RuntimeException' not make
>> much s
On Mon, 4 Sep 2023 16:49:39 GMT, Daniel Fuchs wrote:
> IIRC the `ProtocolException` here is caught higher in the stack - I believe
> that's what the comment `// responseCode will be returned to caller` means.
> @DarraghClarke might remember. There is much history here. The fix may appear
> sim
On Sun, 3 Sep 2023 09:16:24 GMT, Vyom Tewari wrote:
>> With the current implementation of HttpURLConnection if server rejects the
>> “Expect 100-continue” then there will be ‘java.net.ProtocolException’ will
>> be thrown from 'expect100Continue()' method.
>>
>> After the exception thrown, I
On Mon, 4 Sep 2023 08:25:43 GMT, Vyom Tewari wrote:
>> src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
>> line 1436:
>>
>>> 1434: if (rememberedException != null) {
>>> 1435: if (rememberedException instanceof RuntimeException) {
>>> 1436
On Thu, 3 Aug 2023 12:06:33 GMT, Alan Bateman wrote:
>> Hi @AlanBateman ,
>>
>> I ran the Jtreg tests on **jdk17** and observed the following tests passed
>> unexpectedly when I set the **VM_OPTIONS to
>> `-Djdk.net.usePlainDatagramSocketImpl=true`**
>>
>> 1. java/net/MulticastSocket/B6427
> This PR proposes adding a new method to BitSet that provides an immutable
> snapshot of the set in the form of an `IntPredicate`.
>
> The predicate is eligible for constant folding.
>
> Here are some classes in the JDK that would benefit directly from
> constant-folding of BitSets:
>
> PoolR
On Sun, 3 Sep 2023 09:16:24 GMT, Vyom Tewari wrote:
>> With the current implementation of HttpURLConnection if server rejects the
>> “Expect 100-continue” then there will be ‘java.net.ProtocolException’ will
>> be thrown from 'expect100Continue()' method.
>>
>> After the exception thrown, I
On Mon, 4 Sep 2023 06:54:40 GMT, Per Minborg wrote:
>> This PR proposes adding a new method to BitSet that provides an immutable
>> snapshot of the set in the form of an `IntPredicate`.
>>
>> The predicate is eligible for constant folding.
>>
>> Here are some classes in the JDK that would bene
On Mon, 4 Sep 2023 07:22:46 GMT, Jaikiran Pai wrote:
>> Vyom Tewari has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> modified the junit tests names
>
> src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
> line 1
On Wed, 23 Aug 2023 11:04:14 GMT, Andrey Turbanov wrote:
>> A few classes in `java.net` package have non-final fields which could easily
>> be marked `final`.
>
> Andrey Turbanov has updated the pull request incrementally with one
> additional commit since the last revision:
>
> 8314877: Mak
On Sun, 3 Sep 2023 09:16:24 GMT, Vyom Tewari wrote:
>> With the current implementation of HttpURLConnection if server rejects the
>> “Expect 100-continue” then there will be ‘java.net.ProtocolException’ will
>> be thrown from 'expect100Continue()' method.
>>
>> After the exception thrown, I
On Sun, 3 Sep 2023 09:16:24 GMT, Vyom Tewari wrote:
>> With the current implementation of HttpURLConnection if server rejects the
>> “Expect 100-continue” then there will be ‘java.net.ProtocolException’ will
>> be thrown from 'expect100Continue()' method.
>>
>> After the exception thrown, I
On Sun, 3 Sep 2023 09:16:24 GMT, Vyom Tewari wrote:
>> With the current implementation of HttpURLConnection if server rejects the
>> “Expect 100-continue” then there will be ‘java.net.ProtocolException’ will
>> be thrown from 'expect100Continue()' method.
>>
>> After the exception thrown, I
14 matches
Mail list logo