diff --git a/framework-platform/framework-platform.gradle b/framework-platform/framework-platform.gradle index 76d9b6ad389..7922134101e 100644 --- a/framework-platform/framework-platform.gradle +++ b/framework-platform/framework-platform.gradle @@ -111,7 +111,7 @@ dependencies { api("org.dom4j:dom4j:2.1.4") api("org.easymock:easymock:5.5.0") api("org.eclipse.angus:angus-mail:2.0.3") - api("org.eclipse.jetty:jetty-reactive-httpclient:4.0.9") + api("org.eclipse.jetty:jetty-reactive-httpclient:4.0.11") api("org.eclipse.persistence:org.eclipse.persistence.jpa:5.0.0-B08") api("org.eclipse:yasson:3.0.4") api("org.ehcache:ehcache:3.10.8") @@ -124,7 +124,7 @@ dependencies { api("org.hibernate.orm:hibernate-core:7.1.0.Final") api("org.hibernate.validator:hibernate-validator:9.0.1.Final") api("org.hsqldb:hsqldb:2.7.4") - api("org.htmlunit:htmlunit:4.15.0") + api("org.htmlunit:htmlunit:4.16.0") api("org.javamoney:moneta:1.4.4") api("org.jboss.logging:jboss-logging:3.6.1.Final") api("org.jruby:jruby:10.0.2.0") diff --git a/spring-core/src/test/java/org/springframework/util/FileSystemUtilsTests.java b/spring-core/src/test/java/org/springframework/util/FileSystemUtilsTests.java index 8f8368bbf58..a402c7016dd 100644 --- a/spring-core/src/test/java/org/springframework/util/FileSystemUtilsTests.java +++ b/spring-core/src/test/java/org/springframework/util/FileSystemUtilsTests.java @@ -84,7 +84,11 @@ class FileSystemUtilsTests { assertThat(new File(dest, "child")).exists(); assertThat(new File(dest, "child/bar.txt")).exists(); - URI uri = URI.create("jar:file:/" + dest.toString().replace('\\', '/') + "/archive.zip"); + String destPath = dest.toString().replace('\\', '/'); + if (!destPath.startsWith("/")) { + destPath = "/" + destPath; + } + URI uri = URI.create("jar:file:" + destPath + "/archive.zip"); Map env = Map.of("create", "true"); FileSystem zipfs = FileSystems.newFileSystem(uri, env); Path ziproot = zipfs.getPath("/");