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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d4893f3 Test now restores the current thread's interrupt flag after 
catching InterruptedException
2d4893f3 is described below

commit 2d4893f383646fc1755dae34483d85c1f6d4b627
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jan 28 16:08:59 2026 -0500

    Test now restores the current thread's interrupt flag after
    catching InterruptedException
---
 src/test/java/org/apache/commons/jxpath/ri/StressTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/java/org/apache/commons/jxpath/ri/StressTest.java 
b/src/test/java/org/apache/commons/jxpath/ri/StressTest.java
index feb2d065..df716a69 100644
--- a/src/test/java/org/apache/commons/jxpath/ri/StressTest.java
+++ b/src/test/java/org/apache/commons/jxpath/ri/StressTest.java
@@ -67,6 +67,7 @@ class StressTest {
             try {
                 element.join();
             } catch (final InterruptedException e) {
+                Thread.currentThread().interrupt();
                 fail("Interrupted");
             }
         }

Reply via email to