We were using the wrong field get function. After our change to
stdbool.h, the thread priority was always 0 or 1.
* setPriority(), and then starts the thread. We could manage this with
* a "needs priority update" flag to avoid the redundant call.
*/
- int priority = dvmGetFieldBoolean(self->threadObj,
+ int priority = dvmGetFieldInt(self->threadObj,
gDvm.offJavaLangThread_priority);
dvmChangeThreadPriority(self, priority);