-
Bug
-
Resolution: Fixed
-
P3
-
8, 9, 10, 11, 12
-
b22
-
arm
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8264995 | 11.0.12 | Boris Ulasevich | P3 | Resolved | Fixed | b01 |
ARM32 interpreter and C1 doesn't use JNI call result handers properly since "returned value is already in appropriate format" (templateInterpreterGenerator_arm.cpp:32) . Now (since JDK-8209637) we have JNIBooleanTest.java test that shows the approach is not correct: the JNI call jboolean return value >1 makes a mess in further java execution.
JTwork/runtime/BoolReturn/JNIBooleanTest.jtr:
----------System.err:(13/852)----------
java.lang.RuntimeException: Error: bar(2) = false in iteration 2
at JNIBooleanTest.main(JNIBooleanTest.java:61)
JTwork/runtime/BoolReturn/JNIBooleanTest.jtr:
----------System.err:(13/852)----------
java.lang.RuntimeException: Error: bar(2) = false in iteration 2
at JNIBooleanTest.main(JNIBooleanTest.java:61)
- backported by
-
JDK-8264995 ARM32: Interpreter doesn't call result handler after native calls
-
- Resolved
-
- relates to
-
JDK-8209637 [s390x] Interpreter doesn't call result handler after native calls
-
- Closed
-