Skip to content

Add the restarter #1

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

Draft
wants to merge 68 commits into
base: 3.X
Choose a base branch
from
Draft

Add the restarter #1

wants to merge 68 commits into from

Conversation

freya022
Copy link
Owner

@freya022 freya022 commented May 31, 2025

freya022 added 18 commits June 6, 2025 20:18
Will allow to use this even with Spring Dev Tools
…thWatcher

As a lighter alternative, since we don't need the updated data
Fixes issues where an old instance would be used on shutdown
…tdown()

It previously called JDABuilderSession#onShutdown more than once
To avoid duplicate names in the same package
Call the full code when shutting down JDA,
or call the passed closure when reusing JDA

The closure allows to shut down the pools after the events were fired
…eduleShutdownSignal

As we don't have it when it is triggered by JDA's shutdown hook
…ported values

Not actually useful at this moment, but still
@freya022 freya022 marked this pull request as draft June 6, 2025 20:10
freya022 added 11 commits June 7, 2025 11:28
- Make a ClassTransformer using context parameters
- Add MethodModel#toFullyQualifiedString
- Add MethodModel#matches(name, signature)
- Add ClassModel#findMethod(name, signature)
- Add Int#withVisibility(AccessFlag?)
- Use constants for transformation/move targets
- Make sure the targets are present before transforming
- Log transformations with what they do
- Rename classes to what they do
As they aren't handled by URLClassLoader and will thus call the AppClassLoader
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.

1 participant