RFR: 8306980: Generated docs should contain correct GPLv2 Legal Documents [v6]

Mandy Chung mchung at openjdk.org
Wed Oct 4 17:04:47 UTC 2023


On Tue, 20 Jun 2023 05:07:34 GMT, KIRIYAMA Takuya <duke at openjdk.org> wrote:

>> I modified the location from which javadoc copies some legal files to the generated documentation.  If --legal-notices option is set to default or nothing is specified,, GPLv2 Legal Documents are copied from legal/java.base/ directory, such as LICENSE, ADDITIONAL_LICENSE_INFO and ASSEMBLY_EXCEPTION.
>> 
>> Would you please review this fix?
>
> KIRIYAMA Takuya has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Merge remote-tracking branch 'origin' into 8306980
>  - 8306980: Generated docs should contain correct GPLv2 Legal Documents
>  - Merge remote-tracking branch 'origin' into 8306980
>  - 8306980: Generated docs should contain correct GPLv2 Legal Documents
>  - 8306980: Generated docs should contain correct GPLv2 Legal Documents
>  - 8306980: Generated docs should contain correct GPLv2 Legal Documents

> On Windows, the per module legal files (in this case for the jdk.javadoc module) do not contain the actual legal text. That's due to how jlink generates them on systems (like Windows) which do not support symbolic links.

This is by design to avoid duplicating `COPYRIGHT` and `LICENSE` from java.base in each module. 

One idea to fix this is to extend jlink `--dedup-legal-notices` to accept an option that specify the module names that always wants to keep a copy of the legal files.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13686#issuecomment-1747301865


More information about the javadoc-dev mailing list