Migrating to JDK 10 with project jigsaw from Java ...
# announcements
j
Migrating to JDK 10 with project jigsaw from Java 8. IntelliJ is giving me the following error:
Copy code
Symbol is declared in module 'java.base' which does not export package 'kotlin'
This is the code:
Copy code
object LogService {
    @JvmStatic
    fun getLogger(): Logger {
        val t = Throwable()
        t.fillInStackTrace() // This is the method that it complains on
        return LoggerFactory.getLogger(t.stackTrace[1].className)
    }
}
Anyone experienced this before? I'm running IntelliJ
2018.1
with Kotlin version:
1.2.50