{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/openj9/issues/1654","repository_url":"https://api.github.com/repos/eclipse/openj9","labels_url":"https://api.github.com/repos/eclipse/openj9/issues/1654/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/openj9/issues/1654/comments","events_url":"https://api.github.com/repos/eclipse/openj9/issues/1654/events","html_url":"https://github.com/eclipse/openj9/pull/1654","id":313089244,"number":1654,"title":"Preserved original pointer in getCustomFFIType","user":{"login":"fjeremic","id":16259104,"avatar_url":"https://avatars1.githubusercontent.com/u/16259104?v=4","gravatar_id":"","url":"https://api.github.com/users/fjeremic","html_url":"https://github.com/fjeremic","followers_url":"https://api.github.com/users/fjeremic/followers","following_url":"https://api.github.com/users/fjeremic/following{/other_user}","gists_url":"https://api.github.com/users/fjeremic/gists{/gist_id}","starred_url":"https://api.github.com/users/fjeremic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjeremic/subscriptions","organizations_url":"https://api.github.com/users/fjeremic/orgs","repos_url":"https://api.github.com/users/fjeremic/repos","events_url":"https://api.github.com/users/fjeremic/events{/privacy}","received_events_url":"https://api.github.com/users/fjeremic/received_events","type":"User","site_admin":false},"labels":[{"id":697962110,"url":"https://api.github.com/repos/eclipse/openj9/labels/comp:vm","name":"comp:vm","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T21:06:15Z","updated_at":"2018-04-10T21:06:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/eclipse/openj9/pulls/1654","html_url":"https://github.com/eclipse/openj9/pull/1654","diff_url":"https://github.com/eclipse/openj9/pull/1654.diff","patch_url":"https://github.com/eclipse/openj9/pull/1654.patch"},"body":"The getIntFromLayout and getStructFFIType APIs take a reference to the\r\narray returned by copyStringToUTF8WithMemAlloc and they modify the\r\npointer value. Subsequent calls to j9mem_free_memory will fail due to\r\nmetadata not being present.\r\n\r\nWe preserve the original array pointer and pass a temporary to the\r\naforementioned APIs to avoid these problems.\r\n\r\nSigned-off-by: Filip Jeremic <fjeremic@ca.ibm.com>"},"comment":{"url":"https://api.github.com/repos/eclipse/openj9/issues/comments/380246682","html_url":"https://github.com/eclipse/openj9/pull/1654#issuecomment-380246682","issue_url":"https://api.github.com/repos/eclipse/openj9/issues/1654","id":380246682,"user":{"login":"fjeremic","id":16259104,"avatar_url":"https://avatars1.githubusercontent.com/u/16259104?v=4","gravatar_id":"","url":"https://api.github.com/users/fjeremic","html_url":"https://github.com/fjeremic","followers_url":"https://api.github.com/users/fjeremic/followers","following_url":"https://api.github.com/users/fjeremic/following{/other_user}","gists_url":"https://api.github.com/users/fjeremic/gists{/gist_id}","starred_url":"https://api.github.com/users/fjeremic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjeremic/subscriptions","organizations_url":"https://api.github.com/users/fjeremic/orgs","repos_url":"https://api.github.com/users/fjeremic/repos","events_url":"https://api.github.com/users/fjeremic/events{/privacy}","received_events_url":"https://api.github.com/users/fjeremic/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T21:06:31Z","updated_at":"2018-04-10T21:06:31Z","author_association":"CONTRIBUTOR","body":"@pshipton could I please get a review?"}}
{"actor":{"display_login":"fjeremic"}}