[jdk11u-dev] RFR: 8259530: Generated docs contain MIT/GPL-licenced works without reproducing the licence

Paul Hohensee phh at openjdk.org
Wed Mar 15 21:03:31 UTC 2023


On Wed, 15 Mar 2023 07:06:55 GMT, Kimura Yukihiro <duke at openjdk.org> wrote:

> I would like to backport
> JDK-8259530: Generated docs contain MIT/GPL-licenced works without reproducing the licence.
> The original patch does not apply cleanly to 11u. 
> Because the original patch has switch expressions which can not be used in 11u,
> and it has the Class jdk.javadoc.internal.doclets.formats.html.HtmlOptions which is not defined in 11u. 
> There is no risk, because the logic around the changes is the same as jdk17. 
> I confirmed the following test and all langtool tests.
> test/langtools/jdk/javadoc/doclet/testLegalNotices/TestLegalNotices.java
> 
> Could anyone review the fix please?

In HtmlConfiguration.java, why not make legalNotices private and add the legalNotices() accessor as in the original commit?

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

Changes requested by phh (Reviewer).

PR: https://git.openjdk.org/jdk11u-dev/pull/1805


More information about the jdk-updates-dev mailing list