Bug ID: 957131
Summary: hawtjni: depends on field order reported through
QA Contact: extras-qa(a)fedoraproject.org
The StructsGenerator class assumes that the field order reported through
reflection is the source code order. But the Java API explicitly states that
"The elements in the array returned are not sorted and are not in any
The fix is to write an annotation processor (which, when running on source
code, receives the fields in source code order), or inspect the class file,
require debugging information, and sort the fields by line number.
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug