RFR: 8278080: Add --with-cacerts-src='user cacerts folder' to enable deterministic cacerts generation [v2]
Magnus Ihse Bursie
ihse at openjdk.java.net
Thu Dec 2 17:39:31 UTC 2021
On Thu, 2 Dec 2021 17:33:49 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>> Andrew Leonard has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>>
>> - 8278080: Add --with-cacerts-src='user cacerts folder' to enable deterministic cacerts generation
>>
>> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>> - Merge branch 'master' of https://github.com/openjdk/jdk into cacertssrc
>> - 8278080: Add --with-cacerts-src='user cacerts folder' to enable determinsitic cacerts generation
>>
>> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>> - 8278080: Add --with-cacerts-src='user cacerts folder' to enable determinsitic cacerts generation
>>
>> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>
> make/modules/java.base/Gendata.gmk line 76:
>
>> 74: ifneq ($(CACERTS_SRC), )
>> 75: GENDATA_CACERTS_SRC := $(CACERTS_SRC)
>> 76: endif
>
> Does this even work?! You are reassigning the variable after it has been used. The := assignment means that it not a macro.
I would have expected to see something like:
ifneq ($(CACERTS_SRC), )
GENDATA_CACERTS_SRC := $(CACERTS_SRC)
else
GENDATA_CACERTS_SRC := $(TOPDIR)/make/data/cacerts/
endif
at line 63.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6647
More information about the security-dev
mailing list