8304287: Problemlist java/net/SocketOption/OptionsTest.java
Reviewed-by: dfuchs
This commit is contained in:
parent
116627dfb0
commit
1ae69e3e91
test/jdk
@ -537,6 +537,8 @@ java/net/MulticastSocket/SetGetNetworkInterfaceTest.java 8219083 windows-
|
||||
|
||||
java/net/ServerSocket/AcceptInheritHandle.java 8211854 aix-ppc64
|
||||
|
||||
java/net/SocketOption/OptionsTest.java 8304286 windows-all
|
||||
|
||||
############################################################################
|
||||
|
||||
# jdk_nio
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -106,7 +106,7 @@ public class OptionsTest {
|
||||
Enumeration<NetworkInterface> nifs = NetworkInterface.getNetworkInterfaces();
|
||||
while (nifs.hasMoreElements()) {
|
||||
NetworkInterface ni = nifs.nextElement();
|
||||
if (ni.supportsMulticast() && !ni.getInterfaceAddresses().isEmpty()) {
|
||||
if (ni.supportsMulticast()) {
|
||||
return ni;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user