Skip to content

Conversation

@maxburke
Copy link
Contributor

@maxburke maxburke commented Apr 17, 2025

Java code generation bug fixes:

  • internal vector class name clashes when schema includes a type named Vector
  • fields named notify clash with Java built-in notify method
  • fix clash between flatbuffer library Table type and schema types named Table
  • uint enums need to emit values as long constants

@github-actions github-actions bot added c++ codegen Involving generating code from schema java labels Apr 17, 2025
@maxburke maxburke force-pushed the java-naming-fixes branch from 049e485 to 9baca1e Compare April 17, 2025 18:36
@maxburke maxburke changed the title Java naming fixes Miscellaneous Java codegen fixes Apr 17, 2025
@aardappel
Copy link
Collaborator

Thanks! If these were 4 PRs, that would make them so much easier to review.

@maxburke
Copy link
Contributor Author

Thanks! If these were 4 PRs, that would make them so much easier to review.

Should I split this into 4? The changes themselves to codegen are pretty small, which is why I lumped them together.

…s a type named Vector

[java] bugfix: fields named `notify` clash with Java built-in notify method

[java] bugfix: fix clash between flatbuffer library Table type and schema types named Table

[java] bugfix: uint enums need to emit values as long constants
@bjornharrtell
Copy link
Collaborator

@maxburke is this obsolete at this point?

@maxburke
Copy link
Contributor Author

maxburke commented Dec 6, 2025

Yup; closed.

@maxburke maxburke closed this Dec 6, 2025
@maxburke maxburke deleted the java-naming-fixes branch December 6, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ codegen Involving generating code from schema java

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants