JDK-8220474 : Incorrect GPL header in src/java.instrument/share/classes/java/lang/instrument/package-info.java
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.instrument
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-12
  • Updated: 2019-11-04
  • Resolved: 2019-03-12
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 13
11.0.6-oracleFixed 13 b12Fixed
Description
The following file has an incorrect header format: 

src/java.instrument/share/classes/java/lang/instrument/package-info.java 

You can verify the header is correct with make/scripts/lic_check.sh (from JDK 10 WS) to make sure each file now passes. 

The template is located at: 
  make/templates/gpl-header 
  make/templates/gpl-cp-header 

The output of lic_check.sh is below: 

### Checking copyright notice in the file: src/java.instrument/share/classes/java/lang/instrument/package-info.java 
### 
*** /tmp/source_file.15734	2019-03-08 13:40:58.897832210 +0900 
--- ../templates/gpl-cp-header	2018-10-17 00:30:09.828954328 +0900 
*************** 
*** 4,10 **** 
  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. Oracle designates this 
! particular file as subject to the Classpath exception as provided 
  by Oracle in the LICENSE file that accompanied this code. 

  This code is distributed in the hope that it will be useful, but WITHOUT 
--- 4,10 ---- 
  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. Oracle designates this 
! particular file as subject to the "Classpath" exception as provided 
  by Oracle in the LICENSE file that accompanied this code. 

  This code is distributed in the hope that it will be useful, but WITHOUT 
ERROR: License header is not correct in... 

Comments
Fix Request (11u) This trivial backport keeps codebases in sync (I see 11.0.6-oracle). Patch applies cleanly to 11u.
01-11-2019

You were assigned this bug since you were the last active developer to edit this file.
12-03-2019