-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Disallow public final methods on recorders #21080
Disallow public final methods on recorders #21080
Conversation
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building e897aec
Failures⚙️ Initial JDK 11 Build #- Failing: devtools/cli integration-tests/native-config-profile
📦 devtools/cli✖ 📦 integration-tests/native-config-profile✖ |
e897aec
to
931df34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Tested it on the current version of the PanacheKotlinHibernateOrmRecorder
and it triggers the exception. With this we would no longuer have silent bugs like in #20882
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 931df34
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: extensions/hibernate-orm/runtime
! Skipped: docs extensions/hibernate-envers/deployment extensions/hibernate-envers/runtime and 101 more 📦 extensions/hibernate-orm/runtime✖ ⚙️ JVM Tests - JDK 11 Windows #- Failing: extensions/hibernate-orm/runtime
! Skipped: docs extensions/hibernate-envers/deployment extensions/hibernate-envers/runtime and 101 more 📦 extensions/hibernate-orm/runtime✖ ⚙️ JVM Tests - JDK 17 #- Failing: extensions/hibernate-orm/runtime
! Skipped: docs extensions/hibernate-envers/deployment extensions/hibernate-envers/runtime and 101 more 📦 extensions/hibernate-orm/runtime✖ ⚙️ Native Tests - Data3 #- Failing: integration-tests/hibernate-orm-panache-kotlin
📦 integration-tests/hibernate-orm-panache-kotlin✖
|
Needs a rebase now that #20882 is in |
Needs a rebase after #21092 went in. |
These can cause problems as the results silently won't be recorded. This is potentially a breaking change, although I don't think it should cause issues in practice, as there is no real use case for final public recorder methods.
931df34
to
6c70479
Compare
Failing Jobs - Building 6c70479
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 17 #- Failing: integration-tests/vault-agroal
📦 integration-tests/vault-agroal✖
✖
✖
|
These can cause problems as the results silently won't be recorded.
This is potentially a breaking change, although I don't think it should
cause issues in practice, as there is no real use case for final public
recorder methods.