1996fanrui commented on code in PR #28312:
URL: https://github.com/apache/flink/pull/28312#discussion_r3362530419


##########
flink-tests/src/test/java/org/apache/flink/test/runtime/IPv6HostnamesITCase.java:
##########
@@ -173,7 +189,8 @@ private Inet6Address getLocalIPv6Address() {
             }
 
             return null;
-        } catch (Exception e) {
+        } catch (Exception | LinkageError e) {
+            LOG.debug("No bindable non-loopback IPv6 address available", e);
             return null;

Review Comment:
   Why widen to `LinkageError`? This silently turns a class-loading failure 
into a "skip" — was it actually hit somewhere, or can it stay catch (Exception 
e)?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to