1. upb now tolerates a present-but-empty package name in a `FileDescriptorProto`. 2. upb now always returns a non-NULL string for `upb_FileDef_Package()`. If the package was empty or missing, the returned string is zero-length. This better matches the proto2 behavior: `proto2::FileDescriptor::package()` always returns a package string, which may be empty. PiperOrigin-RevId: 460831797pull/13171/head
parent
17b6451684
commit
b0ed763a41
2 changed files with 6 additions and 4 deletions
Loading…
Reference in new issue