title: InetAddress.getAddress() always returns a null, but somehow still works
body: <p>I have a String IP address that I need to convert to a byte array. For this, I used <code>InetAddress.getByName(ip).getAddress()</code>, and it all works great.</p>
  
  <p>However, when I looked at the code of <code>InetAddress.getAddress()</code>, it looks like this:</p>
  
  <pre><code>public byte[] getAddress() {
      return null;
  }
  </code></pre>
  
  <p>There is absolutely no operation being done here - however, I am still getting a byte array back, with the corerect values too. How is this working?</p>