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

Use Thread subclass instead of Closure in Console #2084

Open
wants to merge 2 commits into
base: GROOVY_4_0_X
Choose a base branch
from

Conversation

pditommaso
Copy link
Contributor

The use of closure to run the method doRun in the Groovy Console class makes impossible to extend the Console in custom code due to this Groovy issue.

This PR solves the problem creating running thread using a Thread subclass instead of a Closure

paulk-asert and others added 2 commits April 6, 2024 14:20
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants