{"action":"opened","issue":{"url":"https://api.github.com/repos/EsotericSoftware/reflectasm/issues/37","labels_url":"https://api.github.com/repos/EsotericSoftware/reflectasm/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/EsotericSoftware/reflectasm/issues/37/comments","events_url":"https://api.github.com/repos/EsotericSoftware/reflectasm/issues/37/events","html_url":"https://github.com/EsotericSoftware/reflectasm/issues/37","id":93477802,"number":37,"title":"Array indexing messed up on reload","user":{"login":"HansPeeterTulmin","id":13198203,"avatar_url":"https://avatars.githubusercontent.com/u/13198203?v=3","gravatar_id":"","url":"https://api.github.com/users/HansPeeterTulmin","html_url":"https://github.com/HansPeeterTulmin","followers_url":"https://api.github.com/users/HansPeeterTulmin/followers","following_url":"https://api.github.com/users/HansPeeterTulmin/following{/other_user}","gists_url":"https://api.github.com/users/HansPeeterTulmin/gists{/gist_id}","starred_url":"https://api.github.com/users/HansPeeterTulmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansPeeterTulmin/subscriptions","organizations_url":"https://api.github.com/users/HansPeeterTulmin/orgs","repos_url":"https://api.github.com/users/HansPeeterTulmin/repos","events_url":"https://api.github.com/users/HansPeeterTulmin/events{/privacy}","received_events_url":"https://api.github.com/users/HansPeeterTulmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T09:00:00Z","updated_at":"2015-07-07T09:00:00Z","closed_at":null,"body":"The reflected classes are stored in an array whose ordering is changed on code reload(JRebel). The API seems to rely on this ordering.\r\nThis causes ArrayIndexOutOfBoundsException(class at index 6, length also 6) or undefined behaviour(want to load class a, get b instead).\r\nUpdating indices on array change should fix the problem."}}