File: ./java.base/share/classes/java/net/HostPortrange.java
Code:
} else {
throw new IllegalArgumentException("Invalid characters in hostname");
}
It would be useful for debugging and test failures to report at least what the invalid characters might be, if not the complete host name (though I realise there may be some security concerns related to that).
Code:
} else {
throw new IllegalArgumentException("Invalid characters in hostname");
}
It would be useful for debugging and test failures to report at least what the invalid characters might be, if not the complete host name (though I realise there may be some security concerns related to that).
- links to
-
Commit openjdk/jdk/9ced2ea0
-
Review(master) openjdk/jdk/11407