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/mina-sshd.git
The following commit(s) were added to refs/heads/master by this push: new 06f984b1c Throw IllegalStateException instead of InternalError 06f984b1c is described below commit 06f984b1c75bdd185cb1efd19d988c17811c0ba8 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Jul 12 10:19:38 2023 -0400 Throw IllegalStateException instead of InternalError InternalError is intended for unexpected internal errors that occur in the Java Virtual Machine --- .../src/main/java/org/apache/sshd/common/future/AbstractSshFuture.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshd-common/src/main/java/org/apache/sshd/common/future/AbstractSshFuture.java b/sshd-common/src/main/java/org/apache/sshd/common/future/AbstractSshFuture.java index 76a707305..7b52dca16 100644 --- a/sshd-common/src/main/java/org/apache/sshd/common/future/AbstractSshFuture.java +++ b/sshd-common/src/main/java/org/apache/sshd/common/future/AbstractSshFuture.java @@ -64,7 +64,7 @@ public abstract class AbstractSshFuture<T extends SshFuture<T>> extends Abstract return await0(timeoutMillis, false, options) != null; } catch (InterruptedIOException e) { throw formatExceptionMessage( - msg -> new InternalError(msg, e), + msg -> new IllegalStateException(msg, e), "Unexpected interrupted exception wile awaitUninterruptibly %d msec: %s", timeoutMillis, e.getMessage()); }