-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Don't restart on web resource change #6666
Conversation
Web resources should be modifiable without causing a restart. Fixes quarkusio#6417
@ia3andy mind giving this PR as shot? |
@@ -39,16 +52,21 @@ | |||
@Priority(Priorities.USER + 1) | |||
public class NotFoundExceptionMapper implements ExceptionMapper<NotFoundException> { | |||
|
|||
protected static final String META_INF_RESOURCES_SLASH = "META-INF/resources/"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps avoid the META-INF/resources
duplication?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it really matter? The JVM inlines them so it does not add any overhead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course it doesn't matter :).
Just as a hygiene thing, nothing more. I'm definitely not going to hold up the PR on this :)
@geoand no more errors 👍 |
Thanks for checking @ia3andy. PR looks good to me apart for a super minor comment I added |
The number of this PR is pretty evil, four 6s in a row :P |
Web resources should be modifiable without causing a restart.
Fixes #6417