IndexOutOfBoundsException
on matcher.parameter(0)
when matching str.getBytes(UTF_8).length
#49
Labels
bug
Something isn't working
What version of OpenRewrite are you using?
What is the smallest, simplest way to reproduce the problem?
The following Refaster rule
Generates a Rewrite recipe
Which uses template
Which produces an
IndexOutOfBoundsException
when run against the reference input/output test:https://github.com/timtebeek/error-prone-support/blob/e0c795d248e5a7c434b9a95c08e6e060af942136/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/StringRulesTestInput.java#L19
What is the full stack trace of any errors you encountered?
The text was updated successfully, but these errors were encountered: