You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2026/05/20 07:58:26 UTC
(cxf) branch 4.1.x-fixes updated: CXF-9214 WSDLs and XSDs cannot be loaded from class path on GraalVM (#3124)
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 4.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/4.1.x-fixes by this push:
new 760945f99ee CXF-9214 WSDLs and XSDs cannot be loaded from class path on GraalVM (#3124)
760945f99ee is described below
commit 760945f99ee5d5e1011c52619c08d9fdd10ec313
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Wed May 20 09:57:04 2026 +0200
CXF-9214 WSDLs and XSDs cannot be loaded from class path on GraalVM (#3124)
(cherry picked from commit a82bbfcfe743fb1beff0380b1ebdd8a5bfcfee7b)
---
core/src/main/java/org/apache/cxf/resource/URIResolver.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/core/src/main/java/org/apache/cxf/resource/URIResolver.java b/core/src/main/java/org/apache/cxf/resource/URIResolver.java
index a694fb1fe61..55ed557bef7 100644
--- a/core/src/main/java/org/apache/cxf/resource/URIResolver.java
+++ b/core/src/main/java/org/apache/cxf/resource/URIResolver.java
@@ -65,7 +65,8 @@ public class URIResolver implements AutoCloseable {
"org.apache.cxf.resource.uriresolver.allowedSchemes";
private static final Set<String> DEFAULT_ALLOWED_URL_SCHEMES =
Collections.unmodifiableSet(
- new HashSet<>(Arrays.asList("file", "http", "https", "jar", "zip", "wsjar", "local", "classpath", "vfs")));
+ new HashSet<>(Arrays.asList("file", "http", "https", "jar", "zip", "wsjar", "local", "classpath", "vfs",
+ "resource")));
private Map<String, LoadingByteArrayOutputStream> cache = new HashMap<>();
private File file;
@@ -490,7 +491,7 @@ public class URIResolver implements AutoCloseable {
public boolean isResolved() {
return is != null;
}
-
+
@Override
public void close() throws IOException {
if (isResolved()) {