Bug#1023748: ca-certificates-java: postinst script fails with OpenJDK 20: Error loading java.security file
Emmanuel Bourg
ebourg at apache.org
Wed Nov 9 13:58:45 GMT 2022
Package: ca-certificates-java
Version: 20220719
Severity: important
User: debian-java at lists.debian.org
Usertags: default-java20
ca-certificates-java fails to install with OpenJDK 20 (using java-common/0.73+exp1
to change the default Java version), the following exception is thrown when the
postinst script is executed:
Setting up ca-certificates-java (20220719) ...
Exception in thread "main" java.lang.InternalError: Error loading java.security file
at java.base/java.security.Security.initialize(Security.java:104)
at java.base/java.security.Security.lambda$static$0(Security.java:83)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at java.base/java.security.Security.<clinit>(Security.java:82)
at java.base/sun.security.jca.ProviderList.<init>(ProviderList.java:179)
at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:96)
at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:94)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at java.base/sun.security.jca.ProviderList.fromSecurityProperties(ProviderList.java:93)
at java.base/sun.security.jca.Providers.<clinit>(Providers.java:55)
at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:156)
at java.base/java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:193)
at org.debian.security.KeyStoreHandler.<init>(KeyStoreHandler.java:50)
at org.debian.security.UpdateCertificates.<init>(UpdateCertificates.java:65)
at org.debian.security.UpdateCertificates.main(UpdateCertificates.java:51)
The error appeared when using ratt to rebuild the Java packages with openjdk-20/20~20ea-1
More information about the pkg-java-maintainers
mailing list