{"action":"created","issue":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/896","labels_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/896/labels{/name}","comments_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/896/comments","events_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/896/events","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/896","id":82350908,"number":896,"title":"com.ning.http.client.Body.close() Method is Not Called for FileBodyGenerator","user":{"login":"pete-experimenter","id":6091200,"avatar_url":"https://avatars.githubusercontent.com/u/6091200?v=3","gravatar_id":"","url":"https://api.github.com/users/pete-experimenter","html_url":"https://github.com/pete-experimenter","followers_url":"https://api.github.com/users/pete-experimenter/followers","following_url":"https://api.github.com/users/pete-experimenter/following{/other_user}","gists_url":"https://api.github.com/users/pete-experimenter/gists{/gist_id}","starred_url":"https://api.github.com/users/pete-experimenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pete-experimenter/subscriptions","organizations_url":"https://api.github.com/users/pete-experimenter/orgs","repos_url":"https://api.github.com/users/pete-experimenter/repos","events_url":"https://api.github.com/users/pete-experimenter/events{/privacy}","received_events_url":"https://api.github.com/users/pete-experimenter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-29T09:28:43Z","updated_at":"2015-05-29T10:25:33Z","closed_at":"2015-05-29T09:34:45Z","body":"*Steps to Reproduce*\r\n* Check out project https://github.com/pete-experimenter/async-client-generator-not-being-closed-test-project/\r\n* Run\r\n```sh\r\n./gradlew clean test\r\n```\r\n* One test in *FileAfterUploadNotRemovedTest* should fail as can be seen on \r\n![image](https://cloud.githubusercontent.com/assets/6091200/7880036/426d3d76-060f-11e5-9500-af64ec3a7098.png)\r\n\r\nFor *InputStreamBodyGenerator* everything is fine.\r\n\r\n*Environment*\r\n* OpenSuse 13.1 64 bit,\r\n* Client version\r\n```\r\ncom.ning:async-http-client:1.9.25\r\n```\r\n* Java 1.8.05"},"comment":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/comments/106767073","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/896#issuecomment-106767073","issue_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/896","id":106767073,"user":{"login":"slandelle","id":849197,"avatar_url":"https://avatars.githubusercontent.com/u/849197?v=3","gravatar_id":"","url":"https://api.github.com/users/slandelle","html_url":"https://github.com/slandelle","followers_url":"https://api.github.com/users/slandelle/followers","following_url":"https://api.github.com/users/slandelle/following{/other_user}","gists_url":"https://api.github.com/users/slandelle/gists{/gist_id}","starred_url":"https://api.github.com/users/slandelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slandelle/subscriptions","organizations_url":"https://api.github.com/users/slandelle/orgs","repos_url":"https://api.github.com/users/slandelle/repos","events_url":"https://api.github.com/users/slandelle/events{/privacy}","received_events_url":"https://api.github.com/users/slandelle/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T10:25:33Z","updated_at":"2015-05-29T10:25:33Z","body":"@pete-experimenter The real issue is that those classes were not meant for extension and should have been final in the first place."}}