Pointer els = p.getPointer(Pointer.SIZE + 4); // try changing the
offset to Pointer.SIZE*2
By making this change; it passed each of the tests on my 64 bit
machine without a problem.
I created a 32 bit virtual machine of Ubuntu and was able to build the
repository without any changes.
Info on p variable from testNestedStructureTypeInfo:
Native Allocated Memory <0x2aaaf190b050> (24 bytes)
Dump 24 bytes of this memory to see what it looks like. You should
expect this structure:
8 bytes - size, offset 0
2 bytes - alignment, offset 8
2 bytes - type = 13, offset 10
8 bytes - pointer, offset 16
If the last field is not null, dump 24 bytes from that address. This
is the type information for each field; the first 8 bytes should be
the same as s.inner.getTypeInfo().
What tool do you normally use to view specific memory dumps? I might
need to use it to help debug future efforts.
Is there a table that maps the 2 byte value for type to double, int,
pointer, etc?
Thank you for the new functionality!
Richard