-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
viktor can currently be assembled only with JDK 9 or earlier. That is because the JNI headers are generated using javah, which was removed in JDK 10. The headers are now supposed to be generated using javac -h, but this works only for Java source files, which we don't have, since our sources are in Kotlin. This is not optimal, since JDK 8 is fairly old.
Possible workarounds:
- use a third-party
javahstand-in, like gjavah; - use a
javapworkaround; - rewrite native definitions in Java (currently
NativeSpeedups.ktand parts ofLoader.kt); - wait until this issue is resolved by the Kotlin team.