RFR [JEP 220] Modular Run-Time Images - fix zero build
pointo1d at gmail.com
Wed Dec 3 18:13:52 UTC 2014
I like that even more, Erik :-)
Dave Pointon FIAP MBCS
Now I saw, tho' too late, the folly of beginning a work before we count the
cost and before we we judge rightly of our strength to go thro' with it -
On 3 December 2014 at 17:46, Erik Joelsson <erik.joelsson at oracle.com> wrote:
> Yes, it can be modified. My preferred variant for file existence checking
> in make is "ifneq ($(wildcard /path/to/file), )". Also, in
> Gensrc-jdk.jdi.gmk, I would probably like some other logical condition to
> check on than sa-jdi.jar. We will address this at some point soon.
> On 2014-12-03 15:47, Dave Pointon wrote:
> Hmmm ,
> Would it not be possible to modify Xerxes' suggested patch to do
> something along the lines of ...
> # sa-jdi.jar do not exist for Itanium and zero
> ifeq ($(shell if test -a $(HOTSPOT_DIST)/lib/sa-jdi.jar; then echo N;
> SA_TARGETS += \
> $(JDK_OUTPUTDIR)/modules/jdk.hotspot.agent/_the.sa.jar.unpacked \
> Just a thought
> Dave Pointon FIAP MBCS -
> contractor engaged by IBM
> Now I saw, tho' too late, the folly of beginning a work before we count
> the cost and before we we judge rightly of our strength to go thro' with it
> - Robinson Crusoe
> On 3 December 2014 at 14:30, Erik Joelsson <erik.joelsson at oracle.com>
>> Hello Xerxes,
>> Thanks for the suggestion. I have created
>> https://bugs.openjdk.java.net/browse/JDK-8066589 to track this issue.
>> Unfortunately we won't have time to fix it before pushing JEP 220 to jdk9.
>> I hope this won't inconvenience you too much.
>> Your suggested patch does correctly highlight the problem areas, but will
>> not work since gnu make does not accept shell logic outside of recipes or
>> $(shell ...) constructs.
More information about the jdk9-dev