Skip to content

Fix string index out of range issue if java.home path does not have the jre suffix#34

Merged
evant merged 1 commit intoevant:developfrom
loune:develop
Aug 11, 2014
Merged

Fix string index out of range issue if java.home path does not have the jre suffix#34
evant merged 1 commit intoevant:developfrom
loune:develop

Conversation

@loune
Copy link
Contributor

@loune loune commented Aug 9, 2014

I'm using gradle-retrolambda on Mac OS X 10.9 with JDK 8u11 x64 and the default java.home path does not end with /jre. I made a check to only remove /jre if found, otherwise just take the path as is. This fixes the string out of range -1 error I was getting when building.

evant added a commit that referenced this pull request Aug 11, 2014
Fix string index out of range issue if java.home path does not have the jre suffix
@evant evant merged commit 8f62efd into evant:develop Aug 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants