Contribution to make/Docs.gmk (original) (raw)

Archana Nogriya archana.nogriya at uk.ibm.com
Fri Mar 9 13:00:17 UTC 2018


Thanks David, Erik for your response.

JVMTI is a generic JVM debug specification, J9 has it's own version of it. As per J9 requirement, we might want to be able to do is filter out the above from JDK_SPECS_TARGETS, and add J9 one if it exists currently Docs.gmk I do not see .post custom extension point and to use our own version we need a way of doing it.

Thanks and Regards Archana Nogriya IBM Java Runtime, Open Java Developer IBM Hursley Tel: Internal - 247073, External - +44 (0) 1962 81 7073 Office Mobile: 07500095480 Email: archana.nogriya at uk.ibm.com

From: David Holmes <david.holmes at oracle.com> To: Archana Nogriya <archana.nogriya at uk.ibm.com>, build-dev at openjdk.java.net Date: 08/03/2018 21:26 Subject: Re: Contribution to make/Docs.gmk

Hi,

On 9/03/2018 12:51 AM, Archana Nogriya wrote:

Hi,

In "make/Docs.gmk" We have found 2 issues which required to be fixed in OpenJDK, 1) -JDKMODULES := (sort(sort (sort(DOCSMODULES)) +JDKMODULES := (sort(sort (sort(filter-out (MODULESFILTER),(MODULESFILTER), (MODULESFILTER),(DOCSMODULES))) ==> This is an OpenJDK bug as this should be filtering out the MODULESFILTER modules... hence required contribute to OpenJDK... 2) -JVMTIHTML := $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html _-$(eval $(call SetupCopyFiles, COPYJVMTIHTML, _ _FILES := $(JVMTIHTML), _ DEST := $(DOCSOUTPUTDIR)/specs, -)) -JDKSPECSTARGETS += $(COPYJVMTIHTML) +#JVMTIHTML := $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html +#$(eval $(call SetupCopyFiles, COPYJVMTIHTML, +# FILES := $(JVMTIHTML), +# DEST := $(DOCSOUTPUTDIR)/specs, +#)) +#JDKSPECSTARGETS += $(COPYJVMTIHTML) ==> We need to be able to unset/filterout the $(COPYJVMTIHTML) value in JDKSPECSTARGETS, if we get a "post" CustomIncludeExtension added at the end of Docs.gmk we can then the unset/filterout $(COPYJVMTIHTML) value. Hence OpenJDK contribution required.

Why do you think the JVM TI specification should not be part of the JDK_SPECS_TARGET? Is this just because it is in the hotspot part of the source tree?

David

Please would like to hear other views on this fix and if we have better way of dealing this.

Thanks and Regards Archana Nogriya IBM Java Runtime, Open Java Developer IBM Hursley Tel: Internal - 247073, External - +44 (0) 1962 81 7073 Office Mobile: 07500095480 Email: archana.nogriya at uk.ibm.com Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU



More information about the build-dev mailing list