JDK-8298873 : Update IllegalRecordVersion.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: 2024-08-01
  • Resolved: 2023-01-26
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 11 JDK 17 JDK 21
11.0.25-oracleFixed 17.0.10-oracleFixed 21 b08Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
This test fails due to changes in the underlying TLS implementation. Verify the test is still valid and update accordingly.

command: main IllegalRecordVersion
reason: User specified action: run main/othervm IllegalRecordVersion 
started: Thu Dec 15 10:02:18 EST 2022
Mode: othervm [/othervm specified]
finished: Thu Dec 15 10:02:19 EST 2022
elapsed time (seconds): 0.181
----------configuration:(0/0)----------
----------System.out:(3/161)----------
client hello (record version(0xa9, 0xa2))
Client wrap result: Status = OK HandshakeStatus = NEED_UNWRAP
bytesConsumed = 0 bytesProduced = 440 sequenceNumber = 0
----------System.err:(11/696)----------
java.lang.Exception: Cannot catch the unsupported record version issue
	at IllegalRecordVersion.main(IllegalRecordVersion.java:70)
	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 [11u] I backport this for parity with 11.0.25-oracle. No risk, only tests change. Clean backport with 17 backport, includes follow-up JDK-8301189 Test pass. SAP nightly testing passed.
31-07-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk11u-dev/pull/2887 Date: 2024-07-30 08:55:01 +0000
30-07-2024

Fix request [17u] I backport this for parity with 17.0.10-oracle. No risk, only a test change. Clean backport, PR includes follow-up JDK-8301189, clean too. Marked clean. Test passes. SAP nighlty testing passed.
29-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1814 Date: 2023-09-28 12:39:12 +0000
28-09-2023

Changeset: fc26d3e5 Author: Matthew Donovan <matthew.p.donovan@oracle.com> Committer: Rajan Halade <rhalade@openjdk.org> Date: 2023-01-26 18:36:29 +0000 URL: https://git.openjdk.org/jdk/commit/fc26d3e5770ca3440105d3904a6e4af9af4860fa
26-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11929 Date: 2023-01-10 18:59:30 +0000
26-01-2023

Re-opening as the product fix is closed as not an issue.
26-01-2023

JDK-8299870 addresses the bug found with this test so this fix will address test fix as well.
10-01-2023