Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1866

Warp: make compilable with JDK 6

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Extension - Warp
    • None

      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.
      Imho it could be replaced with:

      try {
        return Inet4Address.getByName(null);
      } catch (UnknownHostException ex) {
        throw new RuntimeException(ex);
      }
      

      From the javadoc of this method:

      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.

              rhn-engineering-rhusar Radoslav Husar
              jstefek Jiří Štefek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: