The GitHub Actions job "Fory CI" on fory.git/main has succeeded. Run started by GitHub user chaokunyang (triggered by chaokunyang).
Head commit for run: 51f3fdb952604162b637d405797277e5442c7de7 / Shawn Yang <[email protected]> fix(kotlin): support Kotlin field with Java reserved world (#2948) ## What does this PR do? Kotlin allows field names that are Java reserved words (like "new"), which are valid at the bytecode level. When Fory tries to reserve these field names for code generation, it fails because Java reserved words can't be used as variable names in generated code. This fix filters out Java reserved words when reserving field names in CodecBuilder, since they won't conflict with any generated variable names. ## Related issues Fixes #2768 ## Does this PR introduce any user-facing change? <!-- If any user-facing interface changes, please [open an issue](https://github.com/apache/fory/issues/new/choose) describing the need to do so and update the document if necessary. Delete section if not applicable. --> - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark <!-- When the PR has an impact on performance (if you don't know whether the PR will have an impact on performance, you can submit the PR first, and if it will have impact on performance, the code reviewer will explain it), be sure to attach a benchmark data here. Delete section if not applicable. --> Report URL: https://github.com/apache/fory/actions/runs/19796306596 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
