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

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new e8a8b4e77b [UPGRADE] dnsjava 3.5.2 -> 3.6.3 (#2688)
e8a8b4e77b is described below

commit e8a8b4e77bd47d64d4f7e0bc0232be1d471cfcdf
Author: vttran <vtt...@linagora.com>
AuthorDate: Fri Mar 28 08:31:43 2025 +0700

    [UPGRADE] dnsjava 3.5.2 -> 3.6.3 (#2688)
---
 pom.xml                                                                 | 2 +-
 .../java/org/apache/james/dnsservice/dnsjava/DNSJavaServiceTest.java    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0946424db3..bfdaa4c37b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -639,7 +639,7 @@
         <slf4j.version>2.0.13</slf4j.version>
 
         <circe.version>0.14.9</circe.version>
-        <dnsjava.version>3.5.2</dnsjava.version>
+        <dnsjava.version>3.6.3</dnsjava.version>
         <junit.jupiter.version>5.10.2</junit.jupiter.version>
         <junit.platform.version>1.10.2</junit.platform.version>
         <junit.vintage.version>5.10.2</junit.vintage.version>
diff --git 
a/server/dns-service/dnsservice-dnsjava/src/test/java/org/apache/james/dnsservice/dnsjava/DNSJavaServiceTest.java
 
b/server/dns-service/dnsservice-dnsjava/src/test/java/org/apache/james/dnsservice/dnsjava/DNSJavaServiceTest.java
index 939cb7081c..fe3f041a48 100644
--- 
a/server/dns-service/dnsservice-dnsjava/src/test/java/org/apache/james/dnsservice/dnsjava/DNSJavaServiceTest.java
+++ 
b/server/dns-service/dnsservice-dnsjava/src/test/java/org/apache/james/dnsservice/dnsjava/DNSJavaServiceTest.java
@@ -24,6 +24,7 @@ import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.ArgumentMatchers.anyInt;
 import static org.mockito.Mockito.doAnswer;
 import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
@@ -79,6 +80,7 @@ class DNSJavaServiceTest {
 
         dnsServer.setResolver(null);
         mockedCache = mock(Cache.class);
+        when(mockedCache.getDClass()).thenReturn(DClass.IN);
     }
 
     @AfterEach


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to