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

Qute message bundles - fix application class predicate #20204

Merged
merged 1 commit into from
Sep 16, 2021

Conversation

@@ -1041,8 +1035,7 @@ public boolean test(String name) {
}
// E.g. to match the bundle class generated for a localized file; org.acme.Foo_en -> org.acme.Foo
className = additionalClassNameSanitizer.apply(className);
return applicationArchives.containingArchive(className) != null
|| GeneratedClassGizmoAdaptor.isApplicationClass(name);
return GeneratedClassGizmoAdaptor.isApplicationClass(className);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main part of the fix is GeneratedClassGizmoAdaptor.isApplicationClass(name) -> GeneratedClassGizmoAdaptor.isApplicationClass(className)!

@mkouba mkouba requested a review from geoand September 16, 2021 15:04
Copy link
Contributor

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mkouba mkouba added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 16, 2021
@geoand
Copy link
Contributor

geoand commented Sep 16, 2021

I assume this should be backported, right?

@mkouba mkouba merged commit 0f0f0c3 into quarkusio:main Sep 16, 2021
@quarkus-bot quarkus-bot bot added this to the 2.3 - main milestone Sep 16, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 16, 2021
@gsmet gsmet modified the milestones: 2.3.0.CR1, 2.2.4.Final Nov 30, 2021
@gsmet gsmet modified the milestones: 2.2.4.Final, 2.3.0.CR1 Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qute The template engine
Projects
None yet
4 participants