This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/main by this push:
     new a82bbfcfe74 CXF-9214 WSDLs and XSDs cannot be loaded from class path 
on GraalVM (#3124)
a82bbfcfe74 is described below

commit a82bbfcfe743fb1beff0380b1ebdd8a5bfcfee7b
Author: Peter Palaga <[email protected]>
AuthorDate: Wed May 20 09:57:04 2026 +0200

    CXF-9214 WSDLs and XSDs cannot be loaded from class path on GraalVM (#3124)
---
 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()) {

Reply via email to