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

Improvements for the JDK source code legal headers verification process.

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      This RFE is related to any improvements of the JDK source code legal headers verification process and the script $ROOT/make/scripts/lic_check.sh

      1. Recursion in the script is under question. The arrangement to have the script invoke itself recursively on directories seems remarkably fragile.
      2. Text processing is complicated, it's recommended to use a different script language, i.e Java app to benefit of an IDE and Junit tests, or use awk, or perl or python.
      3. It would be nice to have a README file in $ROOT/make/templates directory with a warning like "DO NOT MODIFY TEMPLATES IF IT'S NOT APPROVED". Template files should be modified only if any change of the copyright header is approved by legal department. In this case the script to check license headers should be modified accordingly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbykov Misha Bykov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: