{"action":"closed","issue":{"url":"https://api.github.com/repos/snazy/ohc/issues/45","repository_url":"https://api.github.com/repos/snazy/ohc","labels_url":"https://api.github.com/repos/snazy/ohc/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/snazy/ohc/issues/45/comments","events_url":"https://api.github.com/repos/snazy/ohc/issues/45/events","html_url":"https://github.com/snazy/ohc/issues/45","id":197975476,"number":45,"title":"In constructor of OHCacheChunkedImpl when failed to init OffHeapChunkedMap ArrayIndexOutOfBoundsException is throw","user":{"login":"churvey","id":5304977,"avatar_url":"https://avatars.githubusercontent.com/u/5304977?v=3","gravatar_id":"","url":"https://api.github.com/users/churvey","html_url":"https://github.com/churvey","followers_url":"https://api.github.com/users/churvey/followers","following_url":"https://api.github.com/users/churvey/following{/other_user}","gists_url":"https://api.github.com/users/churvey/gists{/gist_id}","starred_url":"https://api.github.com/users/churvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/churvey/subscriptions","organizations_url":"https://api.github.com/users/churvey/orgs","repos_url":"https://api.github.com/users/churvey/repos","events_url":"https://api.github.com/users/churvey/events{/privacy}","received_events_url":"https://api.github.com/users/churvey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-29T09:06:34Z","updated_at":"2016-12-31T08:52:25Z","closed_at":"2016-12-31T08:52:25Z","body":"line 105 , the index i can reaches to -1 which result in an ArrayIndexOutOfBoundsException. The code is \r\n{\r\n while (i-- >= 0)\r\n    maps[i].release();\r\n     throw e;\r\n}\r\n it should be \r\n{\r\n while (i >= 0)\r\n    maps[i--].release();\r\n     throw e;\r\n}\r\n"}}
{"actor":{"display_login":"snazy"}}