Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HHH-19372 HHH-19369 Test and fix CCE and IAE with access optimizer and inheritance #10204

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

Merged
merged 4 commits into from
May 22, 2025

Conversation

beikov
Copy link
Member

@beikov beikov commented May 22, 2025

Already merged in 6.6: #10192


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-19369
https://hibernate.atlassian.net/browse/HHH-19372

@Entity
public class ConcreteEntity extends SuperclassEntity {
@Id
protected long id;

Check warning

Code scanning / CodeQL

Field masks field in super class Warning test

This field shadows another field called
id
in a superclass.
@beikov beikov merged commit 09b6bf8 into hibernate:main May 22, 2025
25 checks passed
@beikov beikov deleted the HHH-19369 branch May 22, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants