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-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new 3473c6d6 Update test to match InterruptedException guidelines
3473c6d6 is described below

commit 3473c6d625194acd5e0e960403506c8637b10b48
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jan 28 08:25:12 2026 -0500

    Update test to match InterruptedException guidelines
---
 src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java 
b/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java
index 6d955d89..61d38dab 100644
--- a/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java
+++ b/src/test/java/org/apache/bcel/verifier/VerifyBadClassesTest.java
@@ -96,6 +96,7 @@ class VerifyBadClassesTest {
             exitValue = resultHandler.getExitValue();
         } catch (final InterruptedException e) {
             // Ignore exception, but watchdog.killedProcess() records that the 
process timed out.
+            Thread.currentThread().interrupt();
         }
         final boolean timedOut = executor.isFailure(exitValue) && 
watchdog.killedProcess();
         if (timedOut) {

Reply via email to