From 1cc21834e2429a5efa27b1766dcff9d6b3151ddf Mon Sep 17 00:00:00 2001 From: AsamK Date: Wed, 27 Jul 2022 18:20:07 +0200 Subject: [PATCH] Workaround possible GraalVM issue Fixes #987 --- src/main/java/org/asamk/signal/util/IOUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/asamk/signal/util/IOUtils.java b/src/main/java/org/asamk/signal/util/IOUtils.java index 9f220946..2d4ffd8e 100644 --- a/src/main/java/org/asamk/signal/util/IOUtils.java +++ b/src/main/java/org/asamk/signal/util/IOUtils.java @@ -125,7 +125,7 @@ public class IOUtils { UnixDomainPrincipal principal = null; try { principal = channel.getOption(ExtendedSocketOptions.SO_PEERCRED); - } catch (UnsupportedOperationException ignored) { + } catch (UnsupportedOperationException | NoClassDefFoundError ignored) { } return principal; }