Merge changes I4b58610f,Ib758756a into oc-dev

am: a9873bc8f6

Change-Id: I07b352ee11492718ee2abb76d48937f39f17125c
This commit is contained in:
Joe Onorato
2017-05-31 01:14:54 +00:00
committed by android-build-merger
2 changed files with 6 additions and 4 deletions

View File

@@ -1593,7 +1593,7 @@ public final class ProtoOutputStream {
assertNotCompacted();
final int id = checkFieldId(fieldId, FIELD_COUNT_REPEATED | FIELD_TYPE_FIXED64);
writeRepeatedFixed64(id, val);
writeRepeatedFixed64Impl(id, val);
}
private void writeRepeatedFixed64Impl(int id, long val) {
@@ -1720,7 +1720,7 @@ public final class ProtoOutputStream {
assertNotCompacted();
final int id = checkFieldId(fieldId, FIELD_COUNT_REPEATED | FIELD_TYPE_SFIXED64);
writeRepeatedSFixed64(id, val);
writeRepeatedSFixed64Impl(id, val);
}
private void writeRepeatedSFixed64Impl(int id, long val) {
@@ -1785,7 +1785,7 @@ public final class ProtoOutputStream {
assertNotCompacted();
final int id = checkFieldId(fieldId, FIELD_COUNT_REPEATED | FIELD_TYPE_BOOL);
writeRepeatedBool(id, val);
writeRepeatedBoolImpl(id, val);
}
private void writeRepeatedBoolImpl(int id, boolean val) {

View File

@@ -180,7 +180,9 @@ public class SparseMappingTableTest extends TestCase {
try {
table.getValue(key);
throw new Exception("Exception not thrown after mismatched reset calls.");
// Turn off this assertion because the check in SparseMappingTable.assertConsistency
// is also turned off.
//throw new Exception("Exception not thrown after mismatched reset calls.");
} catch (RuntimeException ex) {
// Good
}