This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/branch-1.11 by this push:
new f4d28cae25 AVRO-4189: Fix test issue at backport (#3538)
f4d28cae25 is described below
commit f4d28cae25da643a85a7faee0ae6830faa3fbfcc
Author: Gabor Szadovszky <[email protected]>
AuthorDate: Wed Oct 29 07:52:28 2025 +0100
AVRO-4189: Fix test issue at backport (#3538)
---
.../src/test/java/org/apache/avro/util/TestClassSecurityValidator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/lang/java/avro/src/test/java/org/apache/avro/util/TestClassSecurityValidator.java
b/lang/java/avro/src/test/java/org/apache/avro/util/TestClassSecurityValidator.java
index 4dc1a55c54..7e58a66a07 100644
---
a/lang/java/avro/src/test/java/org/apache/avro/util/TestClassSecurityValidator.java
+++
b/lang/java/avro/src/test/java/org/apache/avro/util/TestClassSecurityValidator.java
@@ -101,7 +101,7 @@ public class TestClassSecurityValidator {
void testBuildComplexPredicate() {
ClassSecurityValidator.setGlobal(ClassSecurityValidator.composite(
ClassSecurityValidator.builder().add(TestInnerClass.class).add(TestClassSecurityValidator.class).build(),
- ClassSecurityValidator.DEFAULT, c ->
c.getPackageName().equals("java.lang")));
+ ClassSecurityValidator.DEFAULT, c ->
c.getPackage().getName().equals("java.lang")));
// Test that the defaults work since we included them
testDefault();