Skip to content

Schema-Builder update Quarkus 3.12 to 3.12 affects schema and startup #2171

Closed Answered by mskacelik
steffenthomasEMP asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Steffen,

Thanks for starting the discussion! We've analyzed the code and identified the cause of the issue.

Commit fb1c3f3 inadvertently switched the order in which the Jandex API checks methods. Now, it checks interface methods first, followed by class methods.

This change leads to a situation where the @NonNull annotation on a field in a super-interface is overwritten by a field in the subclass that lacks the annotation–since Lombok generates public getters and setters, but the field itself (with the annotation) in the superclass is private, the subclass's getter doesn't inherit the annotation.

Proposed Solution:

We've found a potential solution that fixes the issue in the reproducer…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@steffenthomasEMP
Comment options

Answer selected by t1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants