{"action":"created","issue":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1243","repository_url":"https://api.github.com/repos/restlet/restlet-framework-java","labels_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1243/labels{/name}","comments_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1243/comments","events_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1243/events","html_url":"https://github.com/restlet/restlet-framework-java/issues/1243","id":185858751,"number":1243,"title":"Concurrency issue when comparing MediaType#parameters","user":{"login":"thboileau","id":1122782,"avatar_url":"https://avatars.githubusercontent.com/u/1122782?v=3","gravatar_id":"","url":"https://api.github.com/users/thboileau","html_url":"https://github.com/thboileau","followers_url":"https://api.github.com/users/thboileau/followers","following_url":"https://api.github.com/users/thboileau/following{/other_user}","gists_url":"https://api.github.com/users/thboileau/gists{/gist_id}","starred_url":"https://api.github.com/users/thboileau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thboileau/subscriptions","organizations_url":"https://api.github.com/users/thboileau/orgs","repos_url":"https://api.github.com/users/thboileau/repos","events_url":"https://api.github.com/users/thboileau/events{/privacy}","received_events_url":"https://api.github.com/users/thboileau/received_events","type":"User","site_admin":false},"labels":[{"id":79127159,"url":"https://api.github.com/repos/restlet/restlet-framework-java/labels/Priority:%20high","name":"Priority: high","color":"eb6420","default":false},{"id":66447843,"url":"https://api.github.com/repos/restlet/restlet-framework-java/labels/State:%20analysis","name":"State: analysis","color":"009800","default":false},{"id":339079,"url":"https://api.github.com/repos/restlet/restlet-framework-java/labels/Type:%20bug","name":"Type: bug","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-28T07:42:58Z","updated_at":"2016-12-10T15:03:35Z","closed_at":"2016-12-10T15:03:35Z","body":"Encountered Deadlock in the org.restlet.data.MediaType class while comparing the parameters:\nhttps://github.com/restlet/restlet-framework-java/blob/2.3/modules/org.restlet/src/org/restlet/data/MediaType.java#L965\n\nNoticed that two threads where comparing the two same media types but in distinct order. The deadlock is caused by the fact that WrapperList relies on the Vector class and that each thread locks one list of parameters and wait for the other when comparing it.\n"},"comment":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/comments/266214585","html_url":"https://github.com/restlet/restlet-framework-java/issues/1243#issuecomment-266214585","issue_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1243","id":266214585,"user":{"login":"thboileau","id":1122782,"avatar_url":"https://avatars.githubusercontent.com/u/1122782?v=3","gravatar_id":"","url":"https://api.github.com/users/thboileau","html_url":"https://github.com/thboileau","followers_url":"https://api.github.com/users/thboileau/followers","following_url":"https://api.github.com/users/thboileau/following{/other_user}","gists_url":"https://api.github.com/users/thboileau/gists{/gist_id}","starred_url":"https://api.github.com/users/thboileau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thboileau/subscriptions","organizations_url":"https://api.github.com/users/thboileau/orgs","repos_url":"https://api.github.com/users/thboileau/repos","events_url":"https://api.github.com/users/thboileau/events{/privacy}","received_events_url":"https://api.github.com/users/thboileau/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T15:03:35Z","updated_at":"2016-12-10T15:03:35Z","body":"The fix is now part of the 2.3 branch, and will be shipped with the 2.3.8 version."}}
{"actor":{"display_login":"thboileau"}}