JDK-8324786 : validate-source fails after JDK-8042981
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 23
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2024-01-26
  • Updated: 2024-07-04
  • Resolved: 2024-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 23
23 b08Fixed
Related Reports
Relates :  
Description
[2024-01-26T21:01:45,908Z] BAD COPYRIGHT: /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2d3aed68-4213-4ab3-b712-6f91651fb95d/runs/e4c19820-c0ba-41d5-babf-15d49398cfa8/workspace/open/test/langtools/tools/javac/processing/model/util/types/TestAnnotationStripping.java
[2024-01-26T21:01:45,908Z] 1 header format error(s).
[2024-01-26T21:01:45,913Z] HandleGplSource.gmk:146: recipe for target '/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2d3aed68-4213-4ab3-b712-6f91651fb95d/runs/e4c19820-c0ba-41d5-babf-15d49398cfa8/workspace/build/validate-source/support/header_validated/_test_langtools_validated' failed
[2024-01-26T21:01:45,914Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2d3aed68-4213-4ab3-b712-6f91651fb95d/runs/e4c19820-c0ba-41d5-babf-15d49398cfa8/workspace/build/validate-source/support/header_validated/_test_langtools_validated] Error 1
[2024-01-26T21:01:45,914Z] make[3]: *** Waiting for unfinished jobs....
[2024-01-26T21:01:50,699Z] /opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S10189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2d3aed68-4213-4ab3-b712-6f91651fb95d/runs/e4c19820-c0ba-41d5-babf-15d49398cfa8/workspace/closed/make/Main.gmk:70: recipe for target 'validate-headers' failed
[2024-01-26T21:01:50,699Z] make[2]: *** [validate-headers] Error 2
Comments
Changeset: 70f4a4e1 Author: Daniel D. Daugherty <dcubed@openjdk.org> Date: 2024-01-26 22:01:07 +0000 URL: https://git.openjdk.org/jdk/commit/70f4a4e18e257110f45565ba0d708f1fa48aed76
26-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17599 Date: 2024-01-26 21:51:04 +0000
26-01-2024

Here's the context diff for the proposed fix: $ git diff diff --git a/test/langtools/tools/javac/processing/model/util/types/TestAnnotationStripping.java b/test/langtools/tools/javac/processing/model/util/types/TestAnnotationStripping.java index 79e970d7173..849ab898f9f 100644 --- a/test/langtools/tools/javac/processing/model/util/types/TestAnnotationStripping.java +++ b/test/langtools/tools/javac/processing/model/util/types/TestAnnotationStripping.java @@ -8,7 +8,7 @@ * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). *
26-01-2024