Skip to content

Resolve inherited public constants in field reads - #329

Merged
rcosta358 merged 2 commits into
mainfrom
codex/fix-inherited-constants
Oct 6, 2026
Merged

rcosta358 merged 2 commits into
mainfrom
codex/fix-inherited-constants

Conversation

@rcosta358

@rcosta358 rcosta358 commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Closes #305.

Resolve inherited public static final constants with Java's inherited field lookup, so JPEGImageWriteParam.MODE_EXPLICIT verifies like ImageWriteParam.MODE_EXPLICIT. Add an ImageIO typestate regression example following the existing test-suite structure.

Validation: all 200 example checks pass. Confirmed the regression fails before the fix; independent review found no actionable issues.

🤖 Generated with Codex

Co-authored-by: Codex <noreply@openai.com>
@rcosta358 rcosta358 added the bug Something isn't working label Oct 3, 2026
Co-authored-by: Codex <noreply@openai.com>

@CatarinaGamboa CatarinaGamboa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

wow this simple nice

@rcosta358
rcosta358 merged commit cc9f04f into main Oct 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Constant accessed through a subclass gives "Sorts Int and Bool are incompatible"

2 participants