{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/vert.x/issues/1214","labels_url":"https://api.github.com/repos/eclipse/vert.x/issues/1214/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/vert.x/issues/1214/comments","events_url":"https://api.github.com/repos/eclipse/vert.x/issues/1214/events","html_url":"https://github.com/eclipse/vert.x/pull/1214","id":119990107,"number":1214,"title":"Fix thread safety issue for writePos variable","user":{"login":"testn","id":445123,"avatar_url":"https://avatars.githubusercontent.com/u/445123?v=3","gravatar_id":"","url":"https://api.github.com/users/testn","html_url":"https://github.com/testn","followers_url":"https://api.github.com/users/testn/followers","following_url":"https://api.github.com/users/testn/following{/other_user}","gists_url":"https://api.github.com/users/testn/gists{/gist_id}","starred_url":"https://api.github.com/users/testn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testn/subscriptions","organizations_url":"https://api.github.com/users/testn/orgs","repos_url":"https://api.github.com/users/testn/repos","events_url":"https://api.github.com/users/testn/events{/privacy}","received_events_url":"https://api.github.com/users/testn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/vert.x/labels/to%20review","name":"to review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T17:07:40Z","updated_at":"2015-12-02T18:59:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eclipse/vert.x/pulls/1214","html_url":"https://github.com/eclipse/vert.x/pull/1214","diff_url":"https://github.com/eclipse/vert.x/pull/1214.diff","patch_url":"https://github.com/eclipse/vert.x/pull/1214.patch"},"body":"writePos variable was touched outside the synchronization block. This may cause a file corruption if the writes are done from various threads.\r\n\r\nSigned-off-by: Testo Nakada <test1@doramail.com>"},"comment":{"url":"https://api.github.com/repos/eclipse/vert.x/issues/comments/161398625","html_url":"https://github.com/eclipse/vert.x/pull/1214#issuecomment-161398625","issue_url":"https://api.github.com/repos/eclipse/vert.x/issues/1214","id":161398625,"user":{"login":"vietj","id":225674,"avatar_url":"https://avatars.githubusercontent.com/u/225674?v=3","gravatar_id":"","url":"https://api.github.com/users/vietj","html_url":"https://github.com/vietj","followers_url":"https://api.github.com/users/vietj/followers","following_url":"https://api.github.com/users/vietj/following{/other_user}","gists_url":"https://api.github.com/users/vietj/gists{/gist_id}","starred_url":"https://api.github.com/users/vietj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietj/subscriptions","organizations_url":"https://api.github.com/users/vietj/orgs","repos_url":"https://api.github.com/users/vietj/repos","events_url":"https://api.github.com/users/vietj/events{/privacy}","received_events_url":"https://api.github.com/users/vietj/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T18:59:33Z","updated_at":"2015-12-02T18:59:33Z","body":"shouldn't you reduce the scope of synchronization to only += statement ?"}}