From 40756a5e4b7af0ed20727723dc5c5e822efbc090 Mon Sep 17 00:00:00 2001 From: Benjamin Gamard Date: Tue, 7 May 2019 14:38:05 +0200 Subject: [PATCH] Fix for https://bugs.openjdk.java.net/browse/JDK-8216039 --- .../docs/core/listener/async/FileProcessingAsyncListener.java | 2 +- .../main/java/com/sismics/docs/core/util/EncryptionUtil.java | 1 + pom.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs-core/src/main/java/com/sismics/docs/core/listener/async/FileProcessingAsyncListener.java b/docs-core/src/main/java/com/sismics/docs/core/listener/async/FileProcessingAsyncListener.java index 9cc044c5..cdcb20a8 100644 --- a/docs-core/src/main/java/com/sismics/docs/core/listener/async/FileProcessingAsyncListener.java +++ b/docs-core/src/main/java/com/sismics/docs/core/listener/async/FileProcessingAsyncListener.java @@ -96,7 +96,7 @@ public class FileProcessingAsyncListener { final File file = event.getFile(); FormatHandler formatHandler = FormatHandlerUtil.find(file.getMimeType()); if (formatHandler == null) { - log.error("Format unhandled: " + file.getMimeType()); + log.info("Format unhandled: " + file.getMimeType()); FileUtil.endProcessingFile(file.getId()); return; } diff --git a/docs-core/src/main/java/com/sismics/docs/core/util/EncryptionUtil.java b/docs-core/src/main/java/com/sismics/docs/core/util/EncryptionUtil.java index 2acd7abd..e3b3ebc2 100644 --- a/docs-core/src/main/java/com/sismics/docs/core/util/EncryptionUtil.java +++ b/docs-core/src/main/java/com/sismics/docs/core/util/EncryptionUtil.java @@ -32,6 +32,7 @@ public class EncryptionUtil { static { // Initialize Bouncy Castle provider Security.insertProviderAt(new BouncyCastleProvider(), 1); + Security.removeProvider("SunRsaSign"); } /** diff --git a/pom.xml b/pom.xml index 915e88a4..020d7c4c 100644 --- a/pom.xml +++ b/pom.xml @@ -34,7 +34,7 @@ 7.5.0 4.2 2.0.12 - 1.54 + 1.61 2.10 5.3.7.Final 4.0.1