Method filter in not accept null as dest arg in interface java.awt.image.BufferedImageOp

 

val op =  // op implements BufferedImageOp
img = op.filter(img, null)

It not compiles with message:
Kotlin: Null can not be a value of a non-null type java.awt.image.BufferedImage

Please report bugs to the issue tracker: http://youtrack.jetbrains.com/issues/KT Thanks

http://youtrack.jetbrains.com/issue/KT-5707