Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning when compiling base #276

Closed
dmdashenkov opened this issue Jan 3, 2019 · 2 comments
Closed

Deprecation warning when compiling base #276

dmdashenkov opened this issue Jan 3, 2019 · 2 comments
Labels

Comments

@dmdashenkov
Copy link
Contributor

When building the project, a warning pops up in the console:

<...>/base/base/generated/main/java/com/google/protobuf/compiler/PluginProtos.java:1206: warning: [deprecation] PARSER in FileDescriptorProto has been deprecated
                  input.readMessage(com.google.protobuf.DescriptorProtos.FileDescriptorProto.PARSER, extensionRegistry));

Note that the warning points to a generated class from the Protobuf standard library.

@alexander-yevsyukov
Copy link
Contributor

We can add @Generated manually after protoc finishes. It should make Error Prone happy.
See related issues in:

@alexander-yevsyukov
Copy link
Contributor

No longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants