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

Disable deprecated optimize_for = LITE_RUNTIME option. #38

Merged
merged 2 commits into from
Aug 22, 2020

Conversation

sebastic
Copy link
Contributor

Fixes warnings with protobuf >= 3.8.0:

The optimize_for = LITE_RUNTIME option is no longer supported by protobuf
Java code generator and is ignored--protoc will always generate full
runtime code for Java. To use Java Lite runtime, users should use the
Java Lite plugin instead. See:
https://github.com/protocolbuffers/protobuf/blob/master/java/lite.md

Note that the changes from #29 are also required.

Fixes warnings with protobuf >= 3.8.0:

> The optimize_for = LITE_RUNTIME option is no longer supported by protobuf
> Java code generator and is ignored--protoc will always generate full
> runtime code for Java. To use Java Lite runtime, users should use the
> Java Lite plugin instead. See:
> https://github.com/protocolbuffers/protobuf/blob/master/java/lite.md
@joto joto merged commit 9823930 into openstreetmap:master Aug 22, 2020
@sebastic sebastic deleted the optimize_for-LITE_RUNTIME branch August 22, 2020 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants