JDK-8246806 : Incorrect copyright header in KeyAgreementTest.java, GroupName.java
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 15
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2020-06-09
  • Updated: 2020-07-24
  • Resolved: 2020-07-08
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 15 JDK 16
15 b31Fixed 16Fixed
Related Reports
Relates :  
Description
The following file has an incorrect header format: 

open/test/jdk/java/security/KeyAgreement/KeyAgreementTest.java

 * Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.

Missing comma, the second year should be "2020,"

open/test/jdk/sun/security/tools/keytool/GroupName.java

   * Copyright (c) 2018, 2020,                                    Oracle and/or its affiliates. All rights reserved.

Extra spaces before "Oracle" should be removed.

You can verify the header is correct with "make validate-headers" command or "make/scripts/lic_check.sh" to make sure each file now passes. The "tier1" task in Mach5 includes the same validation job. 

The template is located at: 
  make/templates/gpl-header 
  make/templates/gpl-cp-header
Comments
URL: https://hg.openjdk.java.net/jdk/jdk15/rev/23cf1cd3ef30 User: ascarpino Date: 2020-07-08 15:58:17 +0000
08-07-2020