Skip to content

fix: align option setter nullability with fields - #1997

Closed
Karthik H (thekarthikh) wants to merge 1 commit into
microsoft:mainfrom
thekarthikh:codex/hacktoberfest-jspecify
Closed

Karthik H (thekarthikh) wants to merge 1 commit into
microsoft:mainfrom
thekarthikh:codex/hacktoberfest-jspecify

Conversation

@thekarthikh

Copy link
Copy Markdown
Contributor

Fixes #1994.

Optional option fields are nullable in the generated Java API, but their builder setters did not accept null. Update the API generator to apply matching Nullable (@nullable) annotations and box optional primitive setter parameters. Regenerated the public API sources, including long -> Long handling.

Validation: mvn -pl playwright -am -DskipTests compile --no-transfer-progress

@thekarthikh

Copy link
Copy Markdown
Contributor Author

Hi! I’m following up on this PR. Please let me know if there’s any feedback or changes needed from my side. Thank you.

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.

[Feature]: Cleanup inconsistent JSpecify public class api

2 participants