Task about java.net