Quick Bites: Discovering a Bug in the Kotlin Compiler

Summary I was working with a Kotlin class which extended a Java class and the Kotlin class defined a less-accessible property with the same name as a more-accessible field of the Java class and I ran into an IllegalAccessError. It’s now filed as a bug to the Kotlin team at JetBrains. Background About Kotlin Kotlin is a JVM-based language and one of its selling points is that it seamlessly works with any existing Java code....

October 23, 2022 · 3 min · Rohan Ankarigari Boda