Jerry Berg

Results 85 comments of Jerry Berg

Consider a breaking change in the Java API in a future release to make this static object private.

This is unsupported with the current API because it requires an ExtensionRegistry, but extensions aren't really supported in proto3. This needs further thought.

@choxsword I can see the behavior you describe, but I'm curious what negative impact you see from the inconsistency.

@choxsword nm, I think I see what you are saying now. It creates a stale cache problem.

Hi @choxsword, yes, I have a fix for this, it won't be in the next release, but the one after.

@dlj-NaN Should we do something with this or close it out?

protoc generated java code annotates non-null APIs with @com.google.protobuf.Internal.ProtoNonnullApi

My mistake. I thought these annotations were also in OSS. We should use the standard annotations rather than our custom ones.

We should be using the javax.annotation.Nullable