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

Don't restart on web resource change #6666

Merged
merged 1 commit into from
Jan 21, 2020

Conversation

stuartwdouglas
Copy link
Member

Web resources should be modifiable without causing a restart.

Fixes #6417

Web resources should be modifiable without causing a restart.

Fixes quarkusio#6417
@geoand
Copy link
Contributor

geoand commented Jan 21, 2020

@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/";
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Contributor

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 :)

@ia3andy
Copy link
Contributor

ia3andy commented Jan 21, 2020

@ia3andy mind giving this PR as shot?

@geoand sure

@ia3andy
Copy link
Contributor

ia3andy commented Jan 21, 2020

@geoand no more errors 👍

@geoand
Copy link
Contributor

geoand commented Jan 21, 2020

Thanks for checking @ia3andy.

PR looks good to me apart for a super minor comment I added

@stuartwdouglas stuartwdouglas merged commit d4fb3e0 into quarkusio:master Jan 21, 2020
@geoand
Copy link
Contributor

geoand commented Jan 21, 2020

The number of this PR is pretty evil, four 6s in a row :P

@gsmet gsmet added this to the 1.2.0.Final milestone Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dev mode not working anymore when META-INF/resources is generated
4 participants