> This PR updates AIACertTimeout.java to improve reliability:
> 
> - Replaces the default HttpServer executor with a single-threaded 
> ExecutorService. One possible cause of the intermittent timeout is that that 
> HttpHandler passed to createContext() (line 137) has an explicit sleep() 
> call. The default executor executes the handler on the dispatcher thread. The 
> sleep() call could make the HttpServer unresponsive.
> - Replace "localhost" with "127.0.0.1"
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Matthew Donovan has updated the pull request incrementally with one additional 
commit since the last revision:

  removed wildcard imports and logging flag; changed to use 
InetAddress.getLoopbackAddress

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/32814/files
  - new: https://git.openjdk.org/jdk/pull/32814/files/3880f392..fdd02671

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32814&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32814&range=00-01

  Stats: 32 lines in 1 file changed: 17 ins; 6 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/32814.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32814/head:pull/32814

PR: https://git.openjdk.org/jdk/pull/32814

Reply via email to