google / flatbuffers

FlatBuffers: Memory Efficient Serialization Library

Home Page:https://flatbuffers.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Java] Improper escaping of keywords in field names

jkuszmaul opened this issue · comments

When I created #7137 to address keywords escaping in typescript, I added the following stanza to monster_test.fbs to test things:

enum class: int {
  new,
  instanceof,
}

table Object {
  return:int;
  if:int;
  switch:int;
  enum:class;
}

This resulted in the following output for Java:
https://github.com/google/flatbuffers/runs/5382596719?check_suite_focus=true

Thanks, are you going to submit a PR for this (and your other escaping errors)?

I am not currently planning to create PRs for anything other than the typescript issues--I'm currently on a path where I'm trying to get a specific set of things working and just resolving the bugs that block me along the way. I'll comment on any bugs that I end up working on.

This issue is stale because it has been open 6 months with no activity. Please comment or label not-stale, or this will be closed in 14 days.

This issue was automatically closed due to no activity for 6 months plus the 14 day notice period.