FasterXML / FasterXML/jackson-dataformats-binary

[protobuf] can't parse `reserved` field

未關閉
#84 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
protobuf
主要語言
Java
星號
347
分支
156
平均合併
3 天 3 小時
30 天內合併 PR
22

描述

This is a Protoparser problem that it failed to parse `reserved` field.

Reserved field is explained in the official document.
https://developers.google.com/protocol-buffers/docs/proto#reserved

```
va.lang.IllegalStateException: Syntax error in Unnamed-protobuf-schema at 389:11: unexpected label: reserved

at com.squareup.protoparser.ProtoParser.unexpected(ProtoParser.java:948)
at com.squareup.protoparser.ProtoParser.readDeclaration(ProtoParser.java:197)
at com.squareup.protoparser.ProtoParser.readMessage(ProtoParser.java:219)
at com.squareup.protoparser.ProtoParser.readDeclaration(ProtoParser.java:153)
at com.squareup.protoparser.ProtoParser.readProtoFile(ProtoParser.java:92)
at com.squareup.protoparser.ProtoParser.parse(ProtoParser.java:61)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader._loadNative(ProtobufSchemaLoader.java:167)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader._loadNative(ProtobufSchemaLoader.java:161)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader.loadNative(ProtobufSchemaLoader.java:135)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader.load(ProtobufSchemaLoader.java:80)
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。