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

garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-xml.git


The following commit(s) were added to refs/heads/main by this push:
     new 175909c  Disable a failing test on Android and Graalvm
175909c is described below

commit 175909c888428263604eb40475db98758289af8f
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 30 12:44:45 2026 -0400

    Disable a failing test on Android and Graalvm
---
 .../java/org/apache/commons/xml/SecureTransformerFactoryTest.java   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java 
b/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
index 0d0fd4a..6a7bb8d 100644
--- a/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
+++ b/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
@@ -45,6 +45,7 @@
 
 import org.junit.jupiter.api.Tag;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperties;
 import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.xml.sax.InputSource;
 import org.xml.sax.XMLFilter;
@@ -207,7 +208,10 @@ void 
securesAssociatedStylesheetSourcesOfEverySupportedShape() throws Exception
     }
 
     @Test
-    @DisabledIfSystemProperty(named = "android.useAndroidX", matches = ".*") 
// TODO Who knows!
+    @DisabledIfSystemProperty(named = "android.useAndroidX", matches = ".*") 
// Hack
+    @DisabledIfSystemProperty(named = "org.graalvm.nativeimage.imagecode", 
matches = ".*") // Hack
+    @DisabledIfSystemProperty(named = "java.vendor.version", matches = 
".*graalvm.*") // Hack
+    @DisabledIfSystemProperty(named = "java.vendor.version", matches = 
".*GraalVM.*") // Hack
     void wrapsEveryStandardAndSaxFactoryProduct() throws Exception {
         final SAXTransformerFactory factory = (SAXTransformerFactory) 
SecureTransformerFactory.newInstance();
         final URIResolver resolver = (href, base) -> null;

Reply via email to