This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new e7581ca02d Upgrading LMAX Disruptor
e7581ca02d is described below
commit e7581ca02decc9c730fd4d67f211eb3015e20287
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Mon Dec 30 12:09:16 2024 +0100
Upgrading LMAX Disruptor
---
.../java/org/apache/syncope/core/persistence/api/utils/URIUtils.java | 3 ++-
pom.xml | 3 +--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/utils/URIUtils.java
b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/utils/URIUtils.java
index 44668f290a..1618beed40 100644
---
a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/utils/URIUtils.java
+++
b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/utils/URIUtils.java
@@ -21,6 +21,7 @@ package org.apache.syncope.core.persistence.api.utils;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
+import java.net.URL;
import java.nio.file.Path;
public final class URIUtils {
@@ -50,7 +51,7 @@ public final class URIUtils {
URI uri;
if (candidate.startsWith("file:")) {
- uri = Path.of(new
URI(candidate)).toAbsolutePath().toFile().toURI();
+ uri = Path.of(new
URL(candidate).getFile()).toFile().getAbsoluteFile().toURI();
} else {
uri = new URI(candidate);
}
diff --git a/pom.xml b/pom.xml
index 8cfeed9fef..f5ba1afbbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -426,7 +426,7 @@ under the License.
<flowable.version>7.1.0</flowable.version>
<flowable-old.version>6.8.1</flowable-old.version>
- <disruptor.version>3.4.4</disruptor.version>
+ <disruptor.version>4.0.0</disruptor.version>
<elasticsearch.version>8.17.0</elasticsearch.version>
<opensearch.version>2.18.0</opensearch.version>
@@ -2263,7 +2263,6 @@ under the License.
<ianal.phase>none</ianal.phase>
<modernizer.skip>true</modernizer.skip>
<rat.skip>true</rat.skip>
- <modernizer.skip>true</modernizer.skip>
<checkstyle.skip>true</checkstyle.skip>
</properties>