Workaround possible GraalVM issue

Fixes #987
This commit is contained in:
AsamK 2022-07-27 18:20:07 +02:00
parent 956cb97331
commit 1cc21834e2

View file

@ -125,7 +125,7 @@ public class IOUtils {
UnixDomainPrincipal principal = null; UnixDomainPrincipal principal = null;
try { try {
principal = channel.getOption(ExtendedSocketOptions.SO_PEERCRED); principal = channel.getOption(ExtendedSocketOptions.SO_PEERCRED);
} catch (UnsupportedOperationException ignored) { } catch (UnsupportedOperationException | NoClassDefFoundError ignored) {
} }
return principal; return principal;
} }