RFR: 8277459: Add jwebserver tool [v3]

Daniel Fuchs dfuchs at openjdk.java.net
Mon Nov 29 12:45:06 UTC 2021


On Wed, 24 Nov 2021 17:29:40 GMT, Julia Boes <jboes at openjdk.org> wrote:

>> This change introduces jwebserver, a dedicated JDK tool for the Simple Web Server. 
>> 
>> A description is provided in a follow-up comment.
>
> Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix whitespace error, add missing code tag

src/jdk.httpserver/share/classes/sun/net/httpserver/simpleserver/Main.java line 63:

> 61:             System.exit(ec);
> 62:         }  // otherwise the server has been started successfully and runs in
> 63:            // another non-daemon thread.

I wonder if we should add:


// another non-daemon thread, or -h or -version have been passed and
// the main thread will simply exit normally.

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

PR: https://git.openjdk.java.net/jdk/pull/6497


More information about the net-dev mailing list