Hello @core-libs-dev <[email protected]>, Would it be ok if we made HttpServer from the jdk.httpserver module implement AutoCloseable? Having this would prevent people from forgetting to close the server after use.
The close() implementation could call stop(int delay) with a reasonable default. This implementation should be a default one, so that existing child classes that also implemented AutoCloseable lose no functionality. Thank you for your time and consideration. David Alayachew
