Commit 343cef1b authored by Sandy Zhang's avatar Sandy Zhang Committed by Copybara-Service
Browse files

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
parent c0bd3dd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment