Usage of a jni global reference, now mandatory in lollipop