Re: RFR: 8258422: Cleanup unnecessary null comparison before instanceof check in java.base [v4]

2021-01-08 Thread Aleksei Efimov
On Sat, 19 Dec 2020 10:29:23 GMT, Chris Hegarty  wrote:

>> Thank you for checking `HttpURLConnection` and `Socket`.
>> The latest version looks good to me.
>
> This issue is blocked by [8258657][1]. It should not be integrated until 
> after 8258657 has been resolved. The JIRA issues have been linked up to 
> reflect this.
> 
> [1]: https://bugs.openjdk.java.net/browse/JDK-8258657

[JDK-8258657](https://bugs.openjdk.java.net/browse/JDK-8258657) has been 
resolved. The changes reverted by 
[JDK-8258696](https://bugs.openjdk.java.net/browse/JDK-8258696) could also be 
re-applied to `HttpClientImpl` class.

-

PR: https://git.openjdk.java.net/jdk/pull/20


Re: RFR: 8258422: Cleanup unnecessary null comparison before instanceof check in java.base [v4]

2021-01-08 Thread Chris Hegarty
On Fri, 8 Jan 2021 13:20:38 GMT, Aleksei Efimov  wrote:

>> This issue is blocked by [8258657][1]. It should not be integrated until 
>> after 8258657 has been resolved. The JIRA issues have been linked up to 
>> reflect this.
>> 
>> [1]: https://bugs.openjdk.java.net/browse/JDK-8258657
>
> [JDK-8258657](https://bugs.openjdk.java.net/browse/JDK-8258657) has been 
> resolved. The changes reverted by 
> [JDK-8258696](https://bugs.openjdk.java.net/browse/JDK-8258696) could also be 
> re-applied to `HttpClientImpl` class.

@AlekseiEfimov Yes please. Whatever is easier, include the changes to 
HttpClientImpl in this PR, or followup separately. Otherwise, I see no reason 
why this PR cannot proceed.

-

PR: https://git.openjdk.java.net/jdk/pull/20


RFR: 8259493: [test] Use HexFormat instead of adhoc hex utilities in network code and locale SoftKeys

2021-01-08 Thread Roger Riggs
Cleanup of tests test/jdk/java/net and test/jdk/sun/net that format hexadecimal 
strings to use java.util.HexFormat methods.
Also in tests test/jdk/java/util/Locale/SoftKeys.

-

Commit messages:
 - 8259493: [test] Use HexFormat instead of adhoc hex utilities in network code 
and locale SoftKeys

Changes: https://git.openjdk.java.net/jdk/pull/2009/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2009&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259493
  Stats: 75 lines in 5 files changed: 2 ins; 63 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2009.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2009/head:pull/2009

PR: https://git.openjdk.java.net/jdk/pull/2009


Re: RFR: 8259493: [test] Use HexFormat instead of adhoc hex utilities in network code and locale SoftKeys

2021-01-08 Thread Lance Andersen
On Fri, 8 Jan 2021 20:34:10 GMT, Roger Riggs  wrote:

> Cleanup of tests test/jdk/java/net and test/jdk/sun/net that format 
> hexadecimal strings to use java.util.HexFormat methods.
> Also in tests test/jdk/java/util/Locale/SoftKeys.

Looks good Roger.  Nice cleanup.

-

Marked as reviewed by lancea (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2009


Re: RFR: 8259493: [test] Use HexFormat instead of adhoc hex utilities in network code and locale SoftKeys

2021-01-08 Thread Naoto Sato
On Fri, 8 Jan 2021 20:34:10 GMT, Roger Riggs  wrote:

> Cleanup of tests test/jdk/java/net and test/jdk/sun/net that format 
> hexadecimal strings to use java.util.HexFormat methods.
> Also in tests test/jdk/java/util/Locale/SoftKeys.

+1

-

Marked as reviewed by naoto (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2009


Integrated: 8259493: [test] Use HexFormat instead of adhoc hex utilities in network code and locale SoftKeys

2021-01-08 Thread Roger Riggs
On Fri, 8 Jan 2021 20:34:10 GMT, Roger Riggs  wrote:

> Cleanup of tests test/jdk/java/net and test/jdk/sun/net that format 
> hexadecimal strings to use java.util.HexFormat methods.
> Also in tests test/jdk/java/util/Locale/SoftKeys.

This pull request has now been integrated.

Changeset: 876c7fb5
Author:Roger Riggs 
URL:   https://git.openjdk.java.net/jdk/commit/876c7fb5
Stats: 75 lines in 5 files changed: 2 ins; 63 del; 10 mod

8259493: [test] Use HexFormat instead of adhoc hex utilities in network code 
and locale SoftKeys

Reviewed-by: lancea, naoto

-

PR: https://git.openjdk.java.net/jdk/pull/2009