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 5071af4 Disable a failing test on Android and Graalvm
5071af4 is described below
commit 5071af424e163cb3a40265d787a6cc6af2373b56
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 30 12:54:15 2026 -0400
Disable a failing test on Android and Graalvm
---
.../java/org/apache/commons/xml/SecureTransformerFactoryTest.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
a/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
b/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
index c76987c..3b98991 100644
--- a/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
+++ b/src/test/java/org/apache/commons/xml/SecureTransformerFactoryTest.java
@@ -195,7 +195,7 @@ void rejectsDelegatesThatCannotEnableSecureProcessing() {
@Test
@Tag("trax")
- @DisabledIfSystemProperty(named = "android.useAndroidX", matches = ".*")
// Hack
+ @Tag("sax")
void securesAssociatedStylesheetSourcesOfEverySupportedShape() throws
Exception {
final SAXTransformerFactory factory = (SAXTransformerFactory)
SecureTransformerFactory.newInstance();
associatedStylesheet(factory, new StreamSource(new
StringReader("<root/>")));
@@ -209,10 +209,7 @@ void
securesAssociatedStylesheetSourcesOfEverySupportedShape() throws Exception
}
@Test
- @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
+ @Tag("trax")
void wrapsEveryStandardAndSaxFactoryProduct() throws Exception {
final SAXTransformerFactory factory = (SAXTransformerFactory)
SecureTransformerFactory.newInstance();
final URIResolver resolver = (href, base) -> null;