Apply patch for HARMONY-6413: [java6][classlib][luni]DatagramSock do NOT throw IllegalArgumentException Agreed with Ray, this patch could be also applied to Java5.