diff options
author | Paul Duffin <paulduffin@google.com> | 2019-02-13 10:27:06 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2019-02-14 15:54:43 +0000 |
commit | 559e1c2998b2a4ddb823c783065556fb31c398d0 (patch) | |
tree | 1ff41417a8e81c0593c9162d018c614e4883f110 /annotations/generate_annotated_java_files.py | |
parent | de9f04b9463f56d10a418078a9d5243c050bcace (diff) |
Revert change in behavior of InetAddress.isNumeric(String)
A previous change accidentally changed the behavior of this method when
passed null or "". This change fixes the behavior.
Tested on build 5188785 (before the breaking change was made) using the
following command (the InetAddressUtilsTest is not included as it was
not present in 5188785).
atest \
CtsLibcoreTestCases:libcore.java.net.InetAddressTest \
CtsLibcoreTestCases:org.apache.harmony.tests.java.net.InetAddressTest \
CtsLibcoreTestCases:org.apache.harmony.tests.java.net.Inet4AddressTest \
CtsLibcoreTestCases:org.apache.harmony.tests.java.net.Inet6AddressTest
Test: atest \
CtsLibcoreTestCases:libcore.libcore.net.InetAddressUtilsTest \
CtsLibcoreTestCases:libcore.java.net.InetAddressTest \
CtsLibcoreTestCases:org.apache.harmony.tests.java.net.InetAddressTest \
CtsLibcoreTestCases:org.apache.harmony.tests.java.net.Inet4AddressTest \
CtsLibcoreTestCases:org.apache.harmony.tests.java.net.Inet6AddressTest
Bug: 124108424
Change-Id: I191a134f88d17ea8e0c48804de4c2e6ddf2d5886
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions