[8u] RFR Backport JDK-8154313, Generated javadoc scattered all over the place
Jiri Vanek
jvanek at redhat.com
Tue Sep 3 15:14:31 UTC 2019
On 9/2/19 6:16 PM, Severin Gehwolf wrote:
> Hi,
>
> On Thu, 2019-08-29 at 12:31 +0200, Jiri Vanek wrote:
>> Updated:
>>>> http://cr.openjdk.java.net/~jvanek/8154313/ (
>>>> https://bugs.openjdk.java.net/browse/JDK-8154313)
>> http://cr.openjdk.java.net/~jvanek/8154313/webrev/
>
> Thanks for the update. I should note that this backport introduces the
> new target as 'docs-zip' right away instead of the original name of
> 'zip-docs' in JDK 9 which then got renamed to 'docs-zip' via JDK-
> 8168772. Not sure if that was already the case for v1 of the webrev.
>
>>>
>>> Does "make clean-docs" work as expected? It appears it'll leave
>>> bundles/jdk-*-docs.zip behind.
>>
>> No. And never was. I had added
>> clean-docs-zip target now.
>
> What do you mean by "And never was."? Are you suggesting it doesn't
> work on JDK 9+? If so JDK-8168772 seems a likely culprit. Anyway...
>
>>> Perhaps add a condition for "docs" component in CleanComponent here?
>>> http://hg.openjdk.java.net/jdk8u/jdk8u-dev/file/cd2e5f820a0d/make/MakeHelpers.gmk#l299
>>>
>>> Then it would work similar to what the JDK 9 patch did with:
>>> http://hg.openjdk.java.net/jdk9/jdk9/rev/ec69c5bf68a6#l3.7
>>>
>>
>> Thank you verey much for guiding review!
>>
>
> make/Main.gmk:
>
> 202 # Remove everything, except the output from configure.
> 203 clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-overlay-images clean-bootcycle-build clean-docs clean-docs-zip clean-test
>
> You are adding clean-docs-zip to the default "clean" target. Yet, "make
> docs" doesn't seem to build docs-zip. That seems inconsistent. I'd
> require an explicit "make clean-docs-zip" call. I.e. don't add it to
> the list of dep-targets for "make clean".
>
> 257 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs docs-zip docs-zip-only
> 258 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only test-only docs-only
>
> Style: It seems all 'foo-only' targets are on one line, and 'foo' on
> another. Please move the docs-zip-only addition to line 258.
>
> Looks OK otherwise.
http://cr.openjdk.java.net/~jvanek/8154313/webrev/
updated
TY!
J.
More information about the jdk8u-dev
mailing list