Skip to content

fix(java,kotlin): reserve Jackson runtime names - #3507

Merged
schani merged 3 commits into
masterfrom
fix/java-jackson-runtime-names
Sep 8, 2026
Merged

schani merged 3 commits into
masterfrom
fix/java-jackson-runtime-names

Conversation

@schani

@schani schani commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Jackson imports and converter helpers can collide with generated Java or Kotlin type names. Reserve the imported/runtime names in each Jackson renderer so generated models remain compilable.

The shared keyword and heterogeneous-union fixtures exercise both renderers together because each language consumes the same generated cases. The production change adds 4 Java names and 10 Kotlin names (14 lines total).

Validation:

  • npm run build
  • npm run lint
  • focused Java/Kotlin keyword JSON: 2/2 pass
  • focused Java/Kotlin schema keyword-unions and direct-union: 4/4 pass

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

151 files differ — 115 modified, 36 new, 0 deleted
28324 changed lines — +18460 / −9864

Open the generated-output report →

@schani
schani force-pushed the fix/java-jackson-runtime-names branch from 81f80e5 to e8d42c6 Compare September 7, 2026 17:46
@schani schani changed the title fix(java): reserve Jackson converter types fix(java,kotlin): reserve Jackson runtime names Sep 7, 2026
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

284 files differ — 152 modified, 132 new, 0 deleted
99794 changed lines — +65109 / −34685

Open the generated-output report →

@schani
schani force-pushed the fix/java-jackson-runtime-names branch from e8d42c6 to c7e4769 Compare September 7, 2026 18:16
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

284 files differ — 152 modified, 132 new, 0 deleted
100818 changed lines — +65622 / −35196

Open the generated-output report →

@schani
schani merged commit 9da66d1 into master Sep 8, 2026
35 checks passed
@schani
schani deleted the fix/java-jackson-runtime-names branch September 8, 2026 01:45
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.

1 participant