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

improve shutdown impl to work on java 17+ #51

Merged
merged 1 commit into from Jul 21, 2022

Conversation

pwinckles
Copy link
Contributor

What this does

When I originally wrote the code that shutsdown the executor, I used reflection to get the info necessary to save the tasks that hadn't been processed. This will not work in Java 17+. This PR reworks the shutdown to no longer require reflection.

How to test

Start an upgrade to F6 and abort it while it's still running using ctrl+c. Then, verify the inflight tasks were logged.

@dbernstein dbernstein merged commit b2c43e1 into fcrepo-exts:main Jul 21, 2022
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.

None yet

2 participants