JDK-8288332 : Tier1 validate-source fails after 8279614
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 20
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-06-13
  • Updated: 2022-12-22
  • Resolved: 2022-06-13
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 20
11.0.19-oracleFixed 17.0.7-oracleFixed 20 b02Fixed
Related Reports
Relates :  
Description
[2022-06-13T20:19:06,714Z] BAD COPYRIGHT: /opt/mach5/mesos/work_dir/slaves/779adf21-f3e5-4e6a-a889-8cc0f9bc6fbb-S67075/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/951c5943-18ae-4c65-aec8-6a8c3e2389d3/runs/66c81ee4-96b6-4982-b25d-2f06565c19bf/workspace/open/test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java
Comments
Changeset: e90b579b Author: Daniel D. Daugherty <dcubed@openjdk.org> Date: 2022-06-13 20:47:34 +0000 URL: https://git.openjdk.org/jdk/commit/e90b579b294eb88f6b4e236d19b05063775ee8d7
13-06-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9146 Date: 2022-06-13 20:36:15 +0000
13-06-2022

Here's the proposed fix: $ git diff diff --git a/test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java b/test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java index e1eb17414c6..4db602f0e4d 100644 --- a/test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java +++ b/test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java @@ -2,6 +2,10 @@ * Copyright (c) 2022, 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * * 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
13-06-2022

$ do_java_bld -c validate-headers inc INFO: pwd=/work/shared/bug_hunt/XXXXXXX_for_jdk20.git INFO: pwd and pwd -P do not match; pwd might contain symbolic links. INFO: reset pwd=/System/Volumes/Data/work/shared/bug_hunt/XXXXXXX_for_jdk20.git INFO: GNUMAKE=/usr/bin/make INFO: GNUMAKE version is: GNU Make 3.81 INFO: DEVKIT= INFO: BOOT_JDK= Build Type: incremental Build prelim time: 0.00 minutes. Build Config: validate-headers Building objects Building target 'validate-headers' in configuration 'validate-source' Finished building target 'validate-headers' in configuration 'validate-source' Done building Build validate-headers time: 0.83 minutes. Total build time: 0.83 minutes.
13-06-2022