Adding a Java 8 native