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

Set thread interrupt flag on InterruptedException [SPR-16479] #21023

Closed
spring-projects-issues opened this issue Feb 8, 2018 · 1 comment
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Igor opened SPR-16479 and commented

missing a few interrupt() calls there which is also inconsistent with other places in the framework codebase

@jhoeller want to merge it in version 5.0.4 and 4.3.15


Affects: 4.3.14, 5.0.3

Referenced from: pull request #1668, and commits 39201ad, 33d655a

Backported to: 4.3.15

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

I've also fine-tuned our exception handling in those places to consistently expose a proper exception message (since InterruptedException usually doesn't have any) in the re-thrown exceptions, and to consistently contain the InterruptedException as root cause.

@spring-projects-issues spring-projects-issues added type: bug A general bug status: backported An issue that has been backported to maintenance branches in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.0.4 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants