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

Viewed 393

I have an Exception class: (in groovy)

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

But sonar is showing Array index is out of bounds on super call

sonar bug message

I didn't get why I am getting this Bug message here. Does anyone have any idea/clue why this bug being shown?

1 Answers

These warnings are gone after using @CompileStatic.

Related