FasterXML / FasterXML/jackson-dataformats-binary

[protobuf] can't parse `reserved` field

Đang mở
#84 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
protobuf
Ngôn ngữ chính
Java
Star
347
Fork
156
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
22

Mô tả

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)
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.