Merge pull request #857 from google/jdk16_regression
Replaced a JDK 1.7 specific method with its JDK 1.6 equivalent.
This commit is contained in:
commit
ecda3582a6
@ -805,7 +805,7 @@ public final class TypeAdapters {
|
||||
constantToName.put(constant, name);
|
||||
}
|
||||
} catch (NoSuchFieldException e) {
|
||||
throw new AssertionError("Missing field in " + classOfT.getName(), e);
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
}
|
||||
@Override public T read(JsonReader in) throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user