[jdk17] RFR: 8259848: Interim javadoc build does not support platform links

Erik Joelsson erikj at openjdk.java.net
Tue Jul 13 07:35:54 UTC 2021


On Mon, 12 Jul 2021 11:10:26 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> This patch adds copying of element-list files generated for jdk.javadoc to the interim langtools version of jdk.javadoc. I'm also refactoring the jdk.javadoc/Gendata.gmk file a bit to better adhere to current build infra standards as this was missed in the original review of this file. Rebuilding should now work better with the various clean targets and any problems with the generation tool will be captured in separate log files, along with the command lines.
>> 
>> @hns Can you verify that this solves the problem you reported?
>
> make/modules/jdk.javadoc/Gendata.gmk line 84:
> 
>> 82: 	        $(CT_DATA_DESCRIPTION) \
>> 83: 	        $(ELEMENT_LISTS_DIR) \
>> 84: 	        11 \
> 
> I'm not sure why JDK 11 is chosen as the starting point, but I suspect it might change in the future. Perhaps move this to a variable instead of hardcoding it into the command line, so it's more visible?

I believe it's because earlier JDK versions have static lists in the repo.

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

PR: https://git.openjdk.java.net/jdk17/pull/227



More information about the build-dev mailing list