XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 22
    • 22
    • core-libs

      The `java.net.ProxySelector` methods `select` and `connectFailure` now throw `IllegalArgumentException` in all `ProxySelector` implementations when called with invalid parameters.

      Previously, the `select` method of the `ProxySelector` returned by `ProxySelector.of(InetSocketAddress)` was incorrectly throwing a `NullPointerException` when its `uri` parameter was `null` or if the protocol could not be determined. The `connectFailed` method of the same `ProxySelector` instance returned without checking its parameters for validity.

            djelinski Daniel Jelinski
            djelinski Daniel Jelinski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: