mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
fix Android bootimage build
bb86500 was a step in the right direction, but there was a bug that caused Type_pad fields to be inserted between every other field in for a derived class when type-maps.cpp was generated, and this led to miscompilation of e.g. Android's java.lang.reflect.Constructor.getModifiers.
This commit is contained in:
parent
f7614bf8a7
commit
a71e75140e
@ -1839,6 +1839,7 @@ writeMap(Output* out, Object* type)
|
|||||||
Object* m = it.next();
|
Object* m = it.next();
|
||||||
|
|
||||||
if (it.sawSuperclassBoundary) {
|
if (it.sawSuperclassBoundary) {
|
||||||
|
it.sawSuperclassBoundary = false;
|
||||||
out->write("Type_pad, ");
|
out->write("Type_pad, ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user