Szymon Siwek [Wed, 20 Nov 2013 05:57:03 +0000 (06:57 +0100)]
Requires: nss
- fix for following exception on starting tomcat:
[...]
Caused by: java.security.ProviderException: Could not initialize NSS
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:211)
[...]
Caused by: java.io.FileNotFoundException: /usr/lib64/libnss3.so
at sun.security.pkcs11.Secmod.initialize(Secmod.java:186)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:206)
Elan Ruusamäe [Wed, 23 Oct 2013 15:21:54 +0000 (18:21 +0300)]
can not build for older source level:
compile:
jni/dist/src/java/org/apache/tomcat/jni/socket/AprSocketContext.java:111: error: diamond operator is not supported in -source 1.6
private final List<AprPoller> pollers = new ArrayList<>();
^
jni/dist/src/java/org/apache/tomcat/jni/socket/AprSocketContext.java:795: error: try-with-resources is not supported in -source 1.6
try (java.net.Socket sock = new java.net.Socket()) {