-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
-
b22
-
generic
-
windows
Generated docs by javadoc contains some legal documents, such as LICENSE, ADDITIONAL_LICENSE_INFO and ASSEMBLY_EXCEPTION.
However, these documents only contain paths to other documents included in the JDK binaries and do not contain any license text.
This may contribute users to violate the license.
How to reproduce:
1. Generate the javadoc for any sourcefiles on Winodws.
>javadoc Test.java -d doc -encoding UTF-8
2. Check legal files in generated javadoc
>type doc\legal\ADDITIONAL_LICENSE_INFO
Please see ..\java.base\ADDITIONAL_LICENSE_INFO
>type doc\legal\ASSEMBLY_EXCEPTION
Please see ..\java.base\ASSEMBLY_EXCEPTION
>type doc\legal\LICENSE
Please see ..\java.base\LICENSE
Only the generated "doc" does not allow us to see the real legal files they represent, such as ..\java.base\ADDITIONAL_LICENSE_INFO.
This problem only occurs on Windows. I am attaching the "doc" generated using OpenJDK 20 on Windows.
However, these documents only contain paths to other documents included in the JDK binaries and do not contain any license text.
This may contribute users to violate the license.
How to reproduce:
1. Generate the javadoc for any sourcefiles on Winodws.
>javadoc Test.java -d doc -encoding UTF-8
2. Check legal files in generated javadoc
>type doc\legal\ADDITIONAL_LICENSE_INFO
Please see ..\java.base\ADDITIONAL_LICENSE_INFO
>type doc\legal\ASSEMBLY_EXCEPTION
Please see ..\java.base\ASSEMBLY_EXCEPTION
>type doc\legal\LICENSE
Please see ..\java.base\LICENSE
Only the generated "doc" does not allow us to see the real legal files they represent, such as ..\java.base\ADDITIONAL_LICENSE_INFO.
This problem only occurs on Windows. I am attaching the "doc" generated using OpenJDK 20 on Windows.
- duplicates
-
JDK-8318469 License issues identified in JDK-8259530 still occur on Windows
- Closed
- relates to
-
JDK-8317634 Introduce the ability to exclude modules from dedup-legal-notices plugin of jlink
- Closed
-
JDK-8319444 Unhelpful failure output in TestLegalNotices
- Resolved
(1 links to)