we need to specify ()I for the signature of the method that returns int. Additionally number (the instance!) needs to be passed to the method up call.
------------- Commit messages: - 8261198: [macOS] Incorrect JNI parameters in number conversion in A11Y code Changes: https://git.openjdk.java.net/jdk/pull/2418/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2418&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8261198 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.java.net/jdk/pull/2418.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2418/head:pull/2418 PR: https://git.openjdk.java.net/jdk/pull/2418