You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original issue created by lothix on 2013-10-16 at 08:57 PM
Issue: InetAddresses.forString throws IllegalArgumentException when given IPv6 address with scope_id instead of returning the correct Inet6Address with scope_id, and scope_id_set populated.
Affected guava versions: InetAddresses in all up to 15.0
Original issue created by lothix on 2013-10-16 at 08:57 PM
Issue: InetAddresses.forString throws IllegalArgumentException when given IPv6 address with scope_id instead of returning the correct Inet6Address with scope_id, and scope_id_set populated.
Affected guava versions: InetAddresses in all up to 15.0
Failing test case:
InetAddress ipv6AddressWithScopeId = InetAddresses.forString("fe80:0:0:0:c1e1:54cf:68bc:9d5e%12");
throws java.lang.IllegalArgumentException: 'fe80:0:0:0:c1e1:54cf:68bc:9d5e%12' is not an IP string literal.
InetAddresses.isInetAddress("fe80:0:0:0:c1e1:54cf:68bc:9d5e%12") return false.
Expected results:
InetAddresses.forString("fe80:0:0:0:c1e1:54cf:68bc:9d5e%12") returns Inet6Address(addr = "fe80:0:0:0:c1e1:54cf:68bc:9d5e", scope_id = 12);
InetAddresses.isInetAddress("fe80:0:0:0:c1e1:54cf:68bc:9d5e%12") returns true.
The text was updated successfully, but these errors were encountered: