https://kotlinlang.org logo
#compiler
Title
# compiler
c

colljos

04/16/2019, 2:07 PM
Hi, I am trying to compile some Kotlin code under Java 11 which is using an internal JDK api (eg. com.sun). I am therefore required to inform the compiler (Java) that I need to use this internal API by specifying:
--add-exports java.base/sun.security.x509=UNNAMED-MODULE
. How does one coax the Kotlin compiler to process/pass this directive?
u

udalov

04/18/2019, 11:31 AM
Unfortunately not possible yet https://youtrack.jetbrains.com/issue/KT-20740
2 Views