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 571a379 Disable a failing test on Android and Graalvm
571a379 is described below
commit 571a379c83076d883f4f931295baf0b2e98703b7
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 30 12:36:44 2026 -0400
Disable a failing test on Android and Graalvm
---
src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
b/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
index 9326241..0d0fd4a 100644
--- a/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
+++ b/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
@@ -207,8 +207,7 @@ void
securesAssociatedStylesheetSourcesOfEverySupportedShape() throws Exception
}
@Test
- @DisabledIfSystemProperty(named = "java.vendor", matches =
"android|graalvm") // TODO Who knows!
- @DisabledIfSystemProperty(named = "java.vendor.version", matches =
"android|graalvm") // TODO Who knows!
+ @DisabledIfSystemProperty(named = "android.useAndroidX", matches = ".*")
// TODO Who knows!
void wrapsEveryStandardAndSaxFactoryProduct() throws Exception {
final SAXTransformerFactory factory = (SAXTransformerFactory)
SecureTransformerFactory.newInstance();
final URIResolver resolver = (href, base) -> null;