Skip to content

Resolve inherited public constants in field reads - #329

Open
rcosta358 wants to merge 2 commits into
mainfrom
codex/fix-inherited-constants
Open

rcosta358 wants to merge 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>
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"

1 participant