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

Fix combination of @QuarkusMain and Kotlin native application #29755

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Dec 8, 2022

Fixes: #29754

@quarkus-bot

This comment has been minimized.

@geoand geoand force-pushed the #29754 branch 2 times, most recently from 382313b to 6e54c0c Compare December 8, 2022 17:21
@geoand geoand requested a review from evanchooly December 8, 2022 17:21
@quarkus-bot
Copy link

quarkus-bot bot commented Dec 8, 2022

Failing Jobs - Building 2846cd2

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
✔️ JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 18

Copy link
Member

@evanchooly evanchooly left a comment

Choose a reason for hiding this comment

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

This fix is better but it makes assumptions about the name the class matching the file name. It creates subtle holes (subtler than the original issue in some ways) that are likely to crop up later. I don't like this approach and am generally opposed but if users expect this kind of behavior when coming from Spring then I can plug my nose and move past it.

@geoand
Copy link
Contributor Author

geoand commented Dec 9, 2022

If this pattern where not proposed on the Kotlin page itself, I would not insist.
The way things are now, I would say that if we don't do it, users will be frustrated (for what they see as no good reason)

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.

Kotlin QuarkusMain native build does not work
3 participants