Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220474

Incorrect GPL header in src/java.instrument/share/classes/java/lang/instrument/package-info.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 13
    • Component/s: core-svc
    • Labels:
      None

      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...

        Attachments

          Activity

            People

            • Assignee:
              gadams Gary Adams
              Reporter:
              ysatowse Yoshiki Sato
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: