Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8350019

HttpClient: DelegatingExecutor should resort to the fallback executor only on RejectedExecutionException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 24
    • core-libs
    • b12

      It has been observed during an `http3` branch review that `SafeExecutor[Service]` fall back only on `RejectedExecutionException`, whereas `DelegatingExecutor` on every `Throwable`. Their behavior should ideally match each other. [~dfuchs] further stated "we should not execute the task again if it’s anything but RejectedExecutionException".

            vyazici Volkan Yazici
            vyazici Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: