[8u] RFR 8047765: Generate blacklist.certs in build

Andrew Hughes gnu.andrew at redhat.com
Tue Jul 14 17:10:57 UTC 2020


On 14/07/2020 17:51, Zhengyu Gu wrote:
> I would like to backport this patch to 8u, for parity with Oracle 8u271.
> 
> The original patch does not apply cleanly. Only conflicts were failing
> to remove following two files:
> 
> BlacklistedCertsConverter.java
> blacklisted.certs.pem
> 
> 
> Original bug: https://bugs.openjdk.java.net/browse/JDK-8047765
> Original patch: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/fd7630919a9d
> 
> 8u weberv: http://cr.openjdk.java.net/~zgu/JDK-8047765-8u/weberv.00/
> 
> Test:
>  jdk_security
> 
> Thanks,
> 
> -Zhengyu
> 

I was looking at this one when we added keystore generation, but decided
the backport wasn't worth the trouble. No real reason not to do it though.

It shouldn't be a removal of those files, but a move; only
src/share/lib/security/blacklisted.certs is actually removed.

Is it possible to attach a 'hg diff --git' of this patch to check this
is correct? The webrev version doesn't do that.

$ grep 'rename' 8047765.11u
rename from jdk/src/share/lib/security/blacklisted.certs.pem
rename to jdk/make/data/blacklistedcertsconverter/blacklisted.certs.pem
rename from jdk/src/share/lib/security/BlacklistedCertsConverter.java
rename to
jdk/make/src/classes/build/tools/blacklistedcertsconverter/BlacklistedCertsConverter.java

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222



More information about the jdk8u-dev mailing list