Integrated: 8286211: Update PCSC-Lite for Suse Linux to 1.9.5

2022-05-24 Thread Valerie Peng
On Mon, 23 May 2022 19:31:02 GMT, Valerie Peng  wrote:

> Need to update the 3 header files due to expiring business approval for 3rd 
> party.
> 
> The header files contain tabs which jcheck disallows, so I have to replace 
> them with spaces.
> 
> Thanks,
> Valerie

This pull request has now been integrated.

Changeset: d792cbcc
Author:Valerie Peng 
URL:   
https://git.openjdk.java.net/jdk/commit/d792cbcc063c426fbf8add8697cbafc9b0e3fc3b
Stats: 197 lines in 3 files changed: 2 ins; 15 del; 180 mod

8286211: Update PCSC-Lite for Suse Linux to 1.9.5

Reviewed-by: weijun

-

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


Integrated: 8284209: Replace remaining usages of 'a the' in source code

2022-05-24 Thread Alexey Ivanov
On Wed, 18 May 2022 14:46:42 GMT, Alexey Ivanov  wrote:

> Replaces usages of articles that follow each other in all combinations: 
> a/the, an?/an?, the/the…
> 
> It's the last issue in the series, and it still touches different areas of 
> the code.

This pull request has now been integrated.

Changeset: 9b7e42c0
Author:Alexey Ivanov 
URL:   
https://git.openjdk.java.net/jdk/commit/9b7e42c0f078db778dda1011d85cd92e3e4eb979
Stats: 74 lines in 40 files changed: 0 ins; 2 del; 72 mod

8284209: Replace remaining usages of 'a the' in source code

Reviewed-by: lancea, wetmore, dfuchs, iris, jjg, ihse

-

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


Integrated: JDK-6725221 Standardize obtaining boolean properties with defaults

2022-05-24 Thread Mark Powers
On Thu, 5 May 2022 16:49:07 GMT, Mark Powers  wrote:

> JDK-6725221 Standardize obtaining boolean properties with defaults

This pull request has now been integrated.

Changeset: 6cc4bb11
Author:Mark Powers 
Committer: Bradford Wetmore 
URL:   
https://git.openjdk.java.net/jdk/commit/6cc4bb1169f34bc091cad3e2deec37cd5585e8d5
Stats: 9 lines in 3 files changed: 1 ins; 1 del; 7 mod

6725221: Standardize obtaining boolean properties with defaults

Reviewed-by: prr, rriggs

-

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


Re: RFR: JDK-6725221 Standardize obtaining boolean properties with defaults [v2]

2022-05-24 Thread Bradford Wetmore
On Tue, 24 May 2022 16:20:10 GMT, Mark Powers  wrote:

> Mach5 tier1 and tier2 completed without any failures. I don't know what to 
> make of the pre-submit failures - lang and hotspot?

IIUC, these are due to Loom failures in some of the other platforms supported 
by OpenJDK but not by Oracle.  They are being resolved.

-

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


RFR: 8287246: Check for required DSA parameters instead of letting KeyFactory provi…

2022-05-24 Thread Sean Mullan
Please review this fix to the XML Signature implementation to check for null or 
missing DSA parameters and throw a MarshalException before trying to create a 
DSA public key from its XML encoding. This will allow the code to fail earlier 
and not depend on the underlying provider to detect illegal or missing 
parameters.

-

Commit messages:
 - Check for required DSA parameters instead of letting KeyFactory provider do 
it.

Changes: https://git.openjdk.java.net/jdk/pull/8870/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk=8870=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287246
  Stats: 30 lines in 1 file changed: 0 ins; 13 del; 17 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8870.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8870/head:pull/8870

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


Re: RFR: JDK-6725221 Standardize obtaining boolean properties with defaults [v2]

2022-05-24 Thread Mark Powers
On Mon, 23 May 2022 18:58:34 GMT, Mark Powers  wrote:

>> JDK-6725221 Standardize obtaining boolean properties with defaults
>
> Mark Powers has updated the pull request with a new target base due to a 
> merge or a rebase. The pull request now contains six commits:
> 
>  - Alan and Jamil comments
>  - Merge
>  - reverse true.equals and false.equals changes
>  - Merge
>  - Merge
>  - first iteration

Mach5 tier1 and tier2 completed without any failures. I don't know what to make 
of the pre-submit failures - lang and hotspot?

-

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


JSSE: SSLEngine reporting HandshakeStatus.FINISHED, disabling NewSessionTicket

2022-05-24 Thread Ben Smyth
TL;DR: Why does a client report HandshakeStatus.FINISHED twice? Can
production of NewSessionTicket be disabled?


A client (respectively server) becomes ready to encrypt application data
upon completing their side of handshaking: "Once a side has sent its
Finished message and has received and validated the Finished message from
its peer, it may begin to send and receive Application Data over the
connection" (RFC8446); a client completes handshaking upon wrapping a
FINISHED message and a server completes upon unwrapping such a message.
(There's an exception for 0-RTT data, and another for a server operating
with reduced security.)

Javadoc advises HandshakeStatus.FINISHED is reported when "a call to
SSLEngine.wrap() / unwrap() ... finishes a handshake." As expected,

* OpenJDK SSLEngine.wrap() reports HandshakeStatus.FINISHED on wrapping a
client's (TLS) FINISHED message.

By comparison, rather than report (server) handshake completion upon
unwrapping a client's (TLS) FINISHED message, HandshakeStatus.NEED_WRAP is
reported, a NewSessionTicket is produced on wrapping and

* OpenJDK SSLEngine.wrap() reports HandshakeStatus.FINISHED on wrapping a
server's (TLS) NewSessionTicket message.

Upon receipt of which,

* OpenJDK SSLEngine.unwrap() reports HandshakeStatus.FINISHED on unwrapping
a server's (TLS) NewSessionTicket message.

What does finishing a handshake mean in SSLEngine parlance? (I don't
understand why a client should report finishing twice.) Can production of
NewSessionTicket be disabled?


Integrated: 8284191: Replace usages of 'a the' in hotspot and java.base

2022-05-24 Thread Alexey Ivanov
On Wed, 18 May 2022 13:27:24 GMT, Alexey Ivanov  wrote:

> Replaces usages of articles that follow each other in all combinations: 
> a/the, an?/an?, the/the…
> 
> Also, I fixed a couple of spelling mistakes.

This pull request has now been integrated.

Changeset: e0d361ce
Author:Alexey Ivanov 
URL:   
https://git.openjdk.java.net/jdk/commit/e0d361cea91d3dd1450aece73f660b4abb7ce5fa
Stats: 303 lines in 162 files changed: 0 ins; 11 del; 292 mod

8284191: Replace usages of 'a the' in hotspot and java.base

Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei

-

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


Re: RFR: 8284209: Replace remaining usages of 'a the' in source code [v3]

2022-05-24 Thread Lance Andersen
On Tue, 24 May 2022 09:52:29 GMT, Alexey Ivanov  wrote:

>> Replaces usages of articles that follow each other in all combinations: 
>> a/the, an?/an?, the/the…
>> 
>> It's the last issue in the series, and it still touches different areas of 
>> the code.
>
> Alexey Ivanov has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Update copyright to 2022

Marked as reviewed by lancea (Reviewer).

-

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


Re: RFR: 8284209: Replace remaining usages of 'a the' in source code [v3]

2022-05-24 Thread Alexey Ivanov
> Replaces usages of articles that follow each other in all combinations: 
> a/the, an?/an?, the/the…
> 
> It's the last issue in the series, and it still touches different areas of 
> the code.

Alexey Ivanov has updated the pull request incrementally with one additional 
commit since the last revision:

  Update copyright to 2022

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8771/files
  - new: https://git.openjdk.java.net/jdk/pull/8771/files/fab0a4bb..4d529f79

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk=8771=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk=8771=01-02

  Stats: 24 lines in 24 files changed: 0 ins; 0 del; 24 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8771.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8771/head:pull/8771

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