-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
21, 22
-
windows_2012, windows_10
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 forJDK-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.
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
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.
- duplicates
-
JDK-8306980 Generated docs should contain correct Legal Documents
- Resolved
- relates to
-
JDK-8259530 Generated docs contain MIT/GPL-licenced works without reproducing the licence
- Resolved