Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #7344 - Fix stop in process #7639

Merged
merged 3 commits into from
Feb 24, 2022

Conversation

janbartel
Copy link
Contributor

The previous fix for #7344 works when jetty has been forked, but doesn't work if jetty is executing in the same process as maven because it calls the Process.onExit() method, which throws ISE when called within the same process. This PR addresses that, and adds a unit test for it.

@janbartel janbartel self-assigned this Feb 23, 2022
@joakime joakime changed the title Jetty 10.0.x 7344 fix stop in process Issue #7344 - Fix stop in process Feb 23, 2022
@joakime joakime added this to the 10.0.x milestone Feb 23, 2022
@janbartel janbartel requested review from olamy and joakime February 24, 2022 09:12
@janbartel janbartel merged commit 34c21ff into jetty-10.0.x Feb 24, 2022
@janbartel janbartel deleted the jetty-10.0.x-7344-fix-stop-in-process branch February 24, 2022 15:30
joakime pushed a commit that referenced this pull request Feb 25, 2022
* Issue #7344 Fix stop goal for non-forked usage

(cherry picked from commit 34c21ff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants