Quarkus decorator for a JPA repository component causes bytecode error
Issue
Attaching an interceptor and decorator to a component results in the following exception:
com.example.JpaWidgetRepositoryTest#add(JpaWidgetRepositoryTest.java:19) JpaWidgetRepositoryTest#add() Method expects a return value
Exception Details:
com/example/JpaWidgetRepository_Subclass$$function$$1.apply(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; @26: return
Reason:
Error exists in the bytecode
Environment
- Red Hat build of Quarkus 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.