Closed
Description
What version of protobuf and what language are you using?
Version: 4.27.4 via com.google.protobuf:protobuf-java-util
Maven artifact
Language: Kotlin JVM
What operating system (Linux, Windows, ...) and version?
Linux (Debian Bookworm)
What runtime / compiler are you using (e.g., python version or gcc version)
Kotlin 2 + JDK 17
What did you do?
Steps to reproduce the behavior:
- Write code that references
com.google.protobuf.util.Timestamps.add
- Observe deprecation warning
- Attempt to follow documented instructions for deprecation
- Compilation error as referenced type is not available
What did you expect to see
Either
- The referenced
JavaTimeConversions
type is available - No deprecation warning
What did you see instead?
A deprecation warning referencing an unavailable type.
Anything else we should know about your project / environment
There are some MOE
comments that make it seem like the deprecation annotation and documentation were supposed to be stripped from the open source release.
Activity