JDK-8301189 : validate-source fails after JDK-8298873
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 21
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-01-26
  • 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 :  
Description
[2023-01-26T18:45:00,807Z] BAD COPYRIGHT LINE: /opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S88494/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/93758177-7c3c-43cb-b924-c7a69f17cbbe/runs/84625a34-e1e1-4bb5-a21e-eb42d557709d/workspace/open/test/jdk/javax/net/ssl/SSLEngine/HandshakeWithInvalidRecordVersion.java
[2023-01-26T18:45:00,807Z] 1 header format error(s).
[2023-01-26T18:45:00,810Z] HandleGplSource.gmk:146: recipe for target '/opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S88494/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/93758177-7c3c-43cb-b924-c7a69f17cbbe/runs/84625a34-e1e1-4bb5-a21e-eb42d557709d/workspace/build/validate-source/support/header_validated/_test_jdk_validated' failed
[2023-01-26T18:45:00,810Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S88494/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/93758177-7c3c-43cb-b924-c7a69f17cbbe/runs/84625a34-e1e1-4bb5-a21e-eb42d557709d/workspace/build/validate-source/support/header_validated/_test_jdk_validated] Error 1
[2023-01-26T18:45:00,819Z] /opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S88494/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/93758177-7c3c-43cb-b924-c7a69f17cbbe/runs/84625a34-e1e1-4bb5-a21e-eb42d557709d/workspace/closed/make/Main.gmk:70: recipe for target 'validate-headers' failed
[2023-01-26T18:45:00,819Z] make[2]: *** [validate-headers] Error 2
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-8298873 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, included in PR for JDK-8298873. Test passes. SAP nighly 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: 7ddafd75 Author: Matthew Donovan <matthew.p.donovan@oracle.com> Committer: Rajan Halade <rhalade@openjdk.org> Date: 2023-01-26 19:36:41 +0000 URL: https://git.openjdk.org/jdk/commit/7ddafd75b02c3083264239404b1c33d219e2cd2b
26-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/12232 Date: 2023-01-26 19:06:40 +0000
26-01-2023

Here's the proposed fix: $ git diff diff --git a/test/jdk/javax/net/ssl/SSLEngine/HandshakeWithInvalidRecordVersion.java b/test/jdk/javax/net/ssl/SSLEngine/HandshakeWithInvalidRecordVersion.java index 4c6949d10c2..71119489b85 100644 --- a/test/jdk/javax/net/ssl/SSLEngine/HandshakeWithInvalidRecordVersion.java +++ b/test/jdk/javax/net/ssl/SSLEngine/HandshakeWithInvalidRecordVersion.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2023 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -233,4 +233,4 @@ public class HandshakeWithInvalidRecordVersion implements SSLContextTemplate { System.out.println(msg); } } -} \ No newline at end of file +} Please note that the file is also missing an EOL on the last line of the file.
26-01-2023