Runtime error calling .javaClass

The following compiled, but has runtime exception when run


fun main(args : Array<String>) {


Exception in thread “main” java.lang.VerifyError: (class: namespace, method: main signature: ([Ljava/lang/String;)V) Attempt to split long or double on the stack
     at java.lang.Class.getDeclaredMethods0(Native Method)
     at java.lang.Class.privateGetDeclaredMethods(
     at java.lang.Class.getMethod0(
     at java.lang.Class.getMethod(
     at sun.launcher.LauncherHelper.getMainMethod(
     at sun.launcher.LauncherHelper.checkAndLoadMain(



Yes, it is a bug. Please report to the tracker.