-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8259530: Generated docs contain MIT/GPL-licenced works without reproducing the licence #1805
Conversation
👋 Welcome back yukikimmura! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In HtmlConfiguration.java, why not make legalNotices private and add the legalNotices() accessor as in the original commit?
Hello Paul, Thank you for your advice. Thanks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're correct.
@yukikimmura This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 18 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@phohensee) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
In the case of 17u, In the case of 11u, |
Hello Paul, Thank you for your advice. I modified the fix. Thanks, |
1 similar comment
Hello Paul, Thank you for your advice. I modified the fix. Thanks, |
Hi, Kimura. I accepted your original fix after you corrected me. :) Your new update changes 101 files, which won't be approved by the Maintainers, so please revert to the original patch. |
Hello Paul, I reverted to the original pacth. Thanks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
The backport has been approved in the JBS issue, so I can sponsor as soon as you add /integrate.
/integrate |
@yukikimmura |
/sponsor |
Going to push as commit 3c8c45e.
Your commit was automatically rebased without conflicts. |
@phohensee @yukikimmura Pushed as commit 3c8c45e. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi @yukikimmura, this backport has broken the bootcycle build with JDK10, due to the lack of Path.of in Java 10. (See the comments at https://bugs.openjdk.org/browse/JDK-8305385). Can you please fix this. Thanks! |
Hello Christoph, Thank you for your comment.
Can I reopen the pullrequest, or should I issue a new pullrequest? |
Hi, I created JBS issue JDK-8305528. You can open a PR with the fix against this bug. I can help to test/review it. Cheers |
What are the reasons that the option type was changed from that of the original commit? In the original commit it was eXtended, in this backport it is standard. |
@yukikimmura, @RealCLanger, @phohensee, if there are no reasons for that change in option type, then I believe it should be reverted. |
@pavelrappo I was not involved in the review, I just discovered an issue with the test afterwards. However, I also can't see what exeactly you mean with the option type. Could you please elaborate this a bit more? Thanks |
In the original commit, the new option is defined like this:
In this backport, the new option is defined like this:
|
To the best of my recollection, I didn't intentionally change "XOption" to "Option." I believe it's a bug. |
While this backport could've used Could you please publish a PR to fix the option type in jdk11u? Thanks. |
Thank you for your comment and for pointing this out. Thanks, |
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?
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/1805/head:pull/1805
$ git checkout pull/1805
Update a local copy of the PR:
$ git checkout pull/1805
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/1805/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1805
View PR using the GUI difftool:
$ git pr show -t 1805
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/1805.diff