-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
HawtJNI uses pattern of
SetStaticFooField(that, GetStaticFooFieldId("T", "FIELDNAME"))
In case of JNI library / Java class version mismatch, FIELDNAME might be absent in class being initialized. Then get field id method will return NULL and set static field method will crash JVM for good.
Jansi is notorious for being shaded without announcement (by JLine, etc) and presenting conflicting versions of code in classpath. This may cause JVM crashes very easily and depending on classpath ordering may not even be deterministic. Luckily it will usually happen on start, but when hawtjni is used for something else it will readily crash JVMs in-flight.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels