"Array index is out of bounds" 在 Groovy 中异常的超级调用

"Array index is out of bounds" on Exceptions's super call in Groovy

我有一个 Exception class:(在 groovy)

class TestException extends RuntimeException {
    TestException(String msg) {
        super(msg)
    }
}

但是声纳在 super 调用

时显示 数组索引超出范围

我不明白为什么我会在此处收到此错误消息。有没有人知道 idea/clue 为什么显示此错误?

这些警告在使用 @CompileStatic 后消失了。