Skip to content

fix: align option setter nullability with fields - #1997

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

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

Conversation

@thekarthikh

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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

1 participant