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

License issues identified in JDK-8259530 still occur on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 21, 22
    • tools

    Description

      The report originates from an issue discovered in the Apache Tomcat project.

      The files:
       - ADDITIONAL_LICENSE_INFO
       - ASSEMBLY_EXCEPTION
       - LICENSE

      in $JAVA_HOME/legal/jdk.javadoc are symlinks. They are copied to the output during the Javadoc generation process as part of the fix for JDK-8259530.

      On Linux this works as intended and contents of the files in the generated Javadoc contain the content from the targets of the symlinks.

      On Windows this does not work. For example, the contents of the LICENSE file in the generated Javadoc content is:

      Please see ..\java.base\LICENSE

      The other symlinked files have similar contents but reference the respective source files. The references make no sense once the files have been copied to the Javadoc output location.

      In addition to the obvious licensing issue as the required files are not present when the Javadoc is built on Windows, it also creates build reproducibility issues as the content of the files varies, and not just with line-ending, depending on whether you build with Linux or Windows.

      Attachments

        Issue Links

          Activity

            People

              jjg Jonathan Gibbons
              markt Mark Thomas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: