[GRADLE-3382] StringIndexOutOfBoundsException thrown when compiling script Created: 12/Jan/16  Updated: 13/Jan/16  Resolved: 13/Jan/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.11-rc-1

Type: Bug
Reporter: Mark Vieira (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0


This problem was originally reported on the forums.


It looks like this happens whenever our custom ClassNodeResolver attempts to lookup a class with a lowercase name. In addition to the example in the thread above, this error can be reproduced with a build script like so:

void method(file foo) { }

Generated at Wed Jun 30 12:47:21 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.