{"action":"created","issue":{"url":"https://api.github.com/repos/jacoco/jacoco/issues/431","repository_url":"https://api.github.com/repos/jacoco/jacoco","labels_url":"https://api.github.com/repos/jacoco/jacoco/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/jacoco/jacoco/issues/431/comments","events_url":"https://api.github.com/repos/jacoco/jacoco/issues/431/events","html_url":"https://github.com/jacoco/jacoco/issues/431","id":163709800,"number":431,"title":"Incorrect coverage for synchronized blocks","user":{"login":"marcbrouwertue","id":11163337,"avatar_url":"https://avatars.githubusercontent.com/u/11163337?v=3","gravatar_id":"","url":"https://api.github.com/users/marcbrouwertue","html_url":"https://github.com/marcbrouwertue","followers_url":"https://api.github.com/users/marcbrouwertue/followers","following_url":"https://api.github.com/users/marcbrouwertue/following{/other_user}","gists_url":"https://api.github.com/users/marcbrouwertue/gists{/gist_id}","starred_url":"https://api.github.com/users/marcbrouwertue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcbrouwertue/subscriptions","organizations_url":"https://api.github.com/users/marcbrouwertue/orgs","repos_url":"https://api.github.com/users/marcbrouwertue/repos","events_url":"https://api.github.com/users/marcbrouwertue/events{/privacy}","received_events_url":"https://api.github.com/users/marcbrouwertue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-04T16:43:03Z","updated_at":"2016-07-04T16:52:28Z","closed_at":"2016-07-04T16:52:28Z","body":"JaCoCo version: 0.7.5\r\nOperating system: Windows 7\r\nTool integration: NetBeans JaCoCoverage plugin\r\n\r\nUnless I'm doing something wrong, I think there might be an issue with the coverage of synchronized blocks. Below I have attached examples of a simple getter. In the first 2 cases the methods coverage is 67% instead of 100%. The last image as an example where the value is returned outside of the synchronized block, yet the coverage is 72% while I'd expect 100%.\r\n\r\nExample 1:\r\n![jaco](https://cloud.githubusercontent.com/assets/11163337/16565581/94846a1c-420e-11e6-9b40-18d7b85142a1.PNG)\r\nExample 2:\r\n![jaco2](https://cloud.githubusercontent.com/assets/11163337/16565711/6bc505a4-420f-11e6-8860-e139cfb44a1a.PNG)\r\nExample 3:\r\n![jaco3](https://cloud.githubusercontent.com/assets/11163337/16566037/bd74e3ae-4211-11e6-93d2-194156e813e6.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/jacoco/jacoco/issues/comments/230327038","html_url":"https://github.com/jacoco/jacoco/issues/431#issuecomment-230327038","issue_url":"https://api.github.com/repos/jacoco/jacoco/issues/431","id":230327038,"user":{"login":"Godin","id":138671,"avatar_url":"https://avatars.githubusercontent.com/u/138671?v=3","gravatar_id":"","url":"https://api.github.com/users/Godin","html_url":"https://github.com/Godin","followers_url":"https://api.github.com/users/Godin/followers","following_url":"https://api.github.com/users/Godin/following{/other_user}","gists_url":"https://api.github.com/users/Godin/gists{/gist_id}","starred_url":"https://api.github.com/users/Godin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godin/subscriptions","organizations_url":"https://api.github.com/users/Godin/orgs","repos_url":"https://api.github.com/users/Godin/repos","events_url":"https://api.github.com/users/Godin/events{/privacy}","received_events_url":"https://api.github.com/users/Godin/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T16:52:27Z","updated_at":"2016-07-04T16:52:27Z","body":"@marcbrouwertue Hi, please see https://github.com/jacoco/jacoco/issues/245#issuecomment-58939096  which describes exactly this known limitation."}}
{"actor":{"display_login":"Godin"}}