JDK-8298872 : Update CheckStatus.java for changes to TLS implementation
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-12-15
  • Updated: 2023-10-05
  • Resolved: 2023-02-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 21
17.0.10-oracleFixed 21 b09Fixed
Related Reports
Relates :  
Description
This test fails due to changes in the underlying implementation. Verify the test is still valid and update accordingly.

ommand: main -Djsse.enableCBCProtection=false CheckStatus
reason: User specified action: run main/othervm -Djsse.enableCBCProtection=false CheckStatus 
started: Thu Dec 15 09:57:44 EST 2022
Mode: othervm [/othervm specified]
finished: Thu Dec 15 09:57:44 EST 2022
elapsed time (seconds): 0.172
----------configuration:(0/0)----------
----------System.out:(23/601)----------
AppOut1 = java.nio.HeapByteBuffer[pos=0 lim=26 cap=26]
AppOut2 = java.nio.HeapByteBuffer[pos=0 lim=29 cap=29]

================
unexpected empty unwrap
======================================
client hello
running delegated task...
Check for unwrap when wrap needed
======================================
ServerHello
running delegated task...
======================================
Key Exchange
running delegated task...
======================================
CCS
======================================
Finished
======================================
CCS
======================================
FINISHED
----------System.err:(13/781)----------
java.lang.Exception: Unexpected hsStatus: need = FINISHED got = NEED_WRAP
	at CheckStatus.checkResult(CheckStatus.java:101)
	at CheckStatus.test(CheckStatus.java:245)
	at CheckStatus.main(CheckStatus.java:620)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
	at java.base/java.lang.Thread.run(Thread.java:1623)
Comments
Fix request [17u] I backport this for parity with 17.0.10-oracle. No risk, only a test change. Clean backport. Test passes. SAP nightly testing passed.
05-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1831 Date: 2023-10-04 12:17:12 +0000
04-10-2023

Changeset: e7247b10 Author: Matthew Donovan <matthew.p.donovan@oracle.com> Committer: Rajan Halade <rhalade@openjdk.org> Date: 2023-02-03 19:55:54 +0000 URL: https://git.openjdk.org/jdk/commit/e7247b10ccd2bf1ad6809395a1b63aa5046d5b1d
03-02-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11857 Date: 2023-01-05 01:18:55 +0000
05-01-2023