Jiří Štefek created ARQ-1866:
--------------------------------
Summary: Warp: make compilable with JDK 6
Key: ARQ-1866
URL:
https://issues.jboss.org/browse/ARQ-1866
Project: Arquillian
Issue Type: Enhancement
Components: Extension - Warp
Reporter: Jiří Štefek
It would be good if the Warp can be compilable with older JDK.
The project is not compilable with jdk 6 because of method which was added in java 7 used
on [this
line|https://github.com/arquillian/arquillian-extension-warp/blob/master/...].
Imho it could be replaced with:
{code}
try {
return Inet4Address.getByName(null);
} catch (UnknownHostException ex) {
throw new RuntimeException(ex);
}
{code}
From the javadoc of this method:
bq. If the host is null then an
InetAddress representing an address of the loopback interface is returned. See RFC 3330
section 2 and RFC 2373 section 2.5.3.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)