interop
Kotlin compiles to JVM bytecode Java and Kotlin call each other directly That is the main reason Kotlin exists in enterprise codebases
Calling Java
val list = java.util.ArrayList<String>()
list.add("0x1RIS")
Java collections work directly No wrapper needed
Nullability at the boundary
Java types do not carry nullability Kotlin sees them as platform types A platform type can be treated as nullable or non nullable
That is the seam where null safety leaks
Annotate Java APIs with @Nullable and @NotNull when you control them
Extension on Java types
Extension functions on Java types compile to static methods They do not modify the Java class That keeps interop predictable
Next
What changed in 10 current
Test this in your lab first
Posted