Replace FileDescriptor.supportsUnknownEnumValues() with...
Replace FileDescriptor.supportsUnknownEnumValues() with FieldDescriptor.legacyEnumFieldTreatedAsClosed() to support legacy enum field behavior. This documents Java's non-conformant behavior where closedness is determined by the field rather than the enum definition. PiperOrigin-RevId: 512627297
Loading
Please sign in to comment