Fixing tests

This commit is contained in:
Deanna Garcia 2022-02-03 01:05:20 +00:00
parent 2d87ce3cfe
commit b2ff4f82c2
2 changed files with 4 additions and 3 deletions

View File

@ -47,11 +47,11 @@ public class InvalidProtocolBufferException extends IOException {
super(description);
}
public InvalidProtocolBufferException(Exception e) {
public InvalidProtocolBufferException(IOException e) {
super(e.getMessage(), e);
}
public InvalidProtocolBufferException(String description, Exception e) {
public InvalidProtocolBufferException(String description, IOException e) {
super(description, e);
}

View File

@ -283,7 +283,8 @@ TailCallTableInfo::TailCallTableInfo(
// Fill in mini table entries.
for (const FieldDescriptor* field : ordered_fields) {
field_entries.push_back(
{field, (HasHasbit(field) ? has_bit_indices[field->index()] : -1)});
{field, (HasHasbit(field) ? has_bit_indices[field->index()] : -1), 0, 0}
);
auto& entry = field_entries.back();
if (field->type() == FieldDescriptor::TYPE_MESSAGE ||