protobuf/editions
Sandy Zhang c99cf4bbfa Add `java` to reserved names to escape extensions to `java_`. This may break existing references to gencode for extensions named `java`.
This prevents shadowing of `java.lang` package commonly used in protobuf gencode. Existing extensions named `java` may or may not previously fail to compile depending on if the contents of their .proto result in gencode using `java.lang`. This is needed to fix `java_features.proto` lite gencode since enum gencode uses `java.lang`. Fields named `java` should already be escaped.

*Warning: This may break user code for existing protos with extensions named `java`. References to the extension should be renamed to use `java_` e.g. registry.add(GeneratedClassName.java_)*

PiperOrigin-RevId: 632508249
2024-05-10 08:49:22 -07:00
..
codegen_tests Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00
golden Add `java` to reserved names to escape extensions to `java_`. This may break existing references to gencode for extensions named `java`. 2024-05-10 08:49:22 -07:00
proto Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00
BUILD chore(php): conformance testing for edition (#16712) 2024-05-08 09:23:08 -07:00
defaults.bzl Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00
defaults_test.cc Add dedicated tests to lock down that overridable defaults never change. 2024-04-17 16:36:06 -07:00
defaults_test_embedded.h.template Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00
defaults_test_embedded_base64.h.template Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00
generated_files_test.cc Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00
generated_reflection_test.cc Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00
internal_defaults_escape.cc Refactor editions infrastructure to a top-level directory. 2024-04-16 11:13:19 -07:00