eclipse-ee4j / eclipse-ee4j/jersey

jersey-quickstart-grizzly2 archetype calls deprecated method to shutdown HttpServer

Open
#3,437 3 comments 0 reactions 0 assignees View on GitHub
Component: examples Priority: Trivial Type: Improvement
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Example code from jersey-quickstart-grizzly2 archetype (taken from [Getting started - new from archetype](https://jersey.java.net/documentation/latest/getting-started.html#new-from-archetype) section) calls deprecated method public void stop() to shutdown HttpServer - instead public synchronized void shutdownNow() should be called.
#### Affected Versions
[2.23.2]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.