JDK-4909209 : Need a way to specifically create unresolved InetSocketAddress
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-08-19
  • Updated: 2017-05-16
  • Resolved: 2003-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
5.0 tigerFixed
The InetSocketAddress class provides support for unresolved addresses but the only way to construct one is by creating one and have the address resolution fail, which is expensive and, if a security manager is present, you need the appropriate. We therefore need a way to create an unresolved address without trying the resolution at all.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b20

EVALUATION A new static method in InetSocketAddress is indeed needed for that. In particular this is very useful when dealing with proxies. ###@###.### 2003-08-19