Using sun.awt.image with Java 11

After long investigations I found @file:Suppress("JAVA_MODULE_DOES_NOT_EXPORT_PACKAGE") construction and it helps me. It’s strange anyway that Kotlin implement it’s own modules checking and don’t handle params such as --add-exports.

5 Likes