Skip to content

[Java] Fields named notify clash with Java's built-in notify method #8723

@nevi-me

Description

@nevi-me

We have a table definition like the below, which has a field named notify. When generating the Java flatbuf code, the field clashes with Java's notify method.

table Notification {
  notify: bool;
  msg: string;
}

Our solution to address this issue was to add the keyword to the exclusion list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions