Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
java version "1.7.0_06-icedtea"
OpenJDK Runtime Environment (fedora-2.3.1.fc17.2-i386)
OpenJDK Client VM (build 23.2-b09, mixed mode)
-
Reviewed
Description
The case fails at line 116, where message is null. I guess this may be an openjdk-specific behavior, but it would be nice to have it fixed although openjdk is not officially supported.
FYI: The exception is thrown with null message at java.net.SocksSocketImpl.
private static int remainingMillis(long deadlineMillis) throws IOException { if (deadlineMillis == 0L) return 0; final long remaining = deadlineMillis - System.currentTimeMillis(); if (remaining > 0) return (int) remaining; throw new SocketTimeoutException(); }