rJava
rJava copied to clipboard
Fix #345. Allow J() convenience call on all versions of Java 6+
This pull request avoids and fixes IllegalAccessException coming from the usage of isAccessible/setAccessible on Java 17+.
The pull request also investigates calling bridge methods on specialized generic classes to find the most suitable method override.
It retains source and binary compatibility with any Java version from 1.6 onward.