[java-opensaml] branch main updated: JSSH-71 Remove the impact of the DestructableComponent Interface

Codeberg noreply at shibboleth.net
Mon Jul 27 13:34:46 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-opensaml.

View the commit online:
https://codeberg.org/Shibboleth/java-opensaml/commit/8075e6d5444d64daa070f3fa07d9fab3b887ed05

The following commit(s) were added to refs/heads/main by this push:
     new 8075e6d54 JSSH-71 Remove the impact of the DestructableComponent Interface
8075e6d54 is described below

commit 8075e6d5444d64daa070f3fa07d9fab3b887ed05
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Jul 27 10:18:19 2026 +0100

    JSSH-71 Remove the impact of the DestructableComponent Interface
    
    https://shibboleth.atlassian.net/browse/JSSH-71
    
    Terminate doDestroy() chain at the bottom of the Encoders and
    Decoders (to stop deprecation logging).  The call to destroy()
    which provokes this is API-contract and cannot be change until 6.0
---
 .../org/opensaml/messaging/decoder/AbstractMessageDecoder.java    | 7 +++++++
 .../org/opensaml/messaging/encoder/AbstractMessageEncoder.java    | 8 ++++++++
 2 files changed, 15 insertions(+)

diff --git a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/decoder/AbstractMessageDecoder.java b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/decoder/AbstractMessageDecoder.java
index 5e8458d62..0df0e3b74 100644
--- a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/decoder/AbstractMessageDecoder.java
+++ b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/decoder/AbstractMessageDecoder.java
@@ -149,5 +149,12 @@ public abstract class AbstractMessageDecoder extends AbstractInitializableCompon
      */
     protected abstract void doDecode() throws MessageDecodingException;
     
+    /** {@inheritDoc} */
+    @Override
+    protected void doDestroy() {
+        //
+        // Do not call parent destroy to suppress deprecation logging
+        //
+    }
 
 }
\ No newline at end of file
diff --git a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/encoder/AbstractMessageEncoder.java b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/encoder/AbstractMessageEncoder.java
index fa836b956..d0f88f66e 100644
--- a/opensaml-messaging-api/src/main/java/org/opensaml/messaging/encoder/AbstractMessageEncoder.java
+++ b/opensaml-messaging-api/src/main/java/org/opensaml/messaging/encoder/AbstractMessageEncoder.java
@@ -174,4 +174,12 @@ public abstract class AbstractMessageEncoder extends AbstractInitializableCompon
      * @throws MessageEncodingException thrown if there is a problem encoding the message
      */
     protected abstract void doEncode() throws MessageEncodingException;
+    
+    /** {@inheritDoc} */
+    @Override
+    protected void doDestroy() {
+        //
+        // Do not call parent destroy to suppress deprecation logging
+        //
+    }
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list