{"action":"created","issue":{"url":"https://api.github.com/repos/acroquest/javabook-support/issues/17","repository_url":"https://api.github.com/repos/acroquest/javabook-support","labels_url":"https://api.github.com/repos/acroquest/javabook-support/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/acroquest/javabook-support/issues/17/comments","events_url":"https://api.github.com/repos/acroquest/javabook-support/issues/17/events","html_url":"https://github.com/acroquest/javabook-support/issues/17","id":225300607,"number":17,"title":"p.239 inputStream がリソースリークする可能性がある","user":{"login":"dai0304","id":134860,"avatar_url":"https://avatars3.githubusercontent.com/u/134860?v=3","gravatar_id":"","url":"https://api.github.com/users/dai0304","html_url":"https://github.com/dai0304","followers_url":"https://api.github.com/users/dai0304/followers","following_url":"https://api.github.com/users/dai0304/following{/other_user}","gists_url":"https://api.github.com/users/dai0304/gists{/gist_id}","starred_url":"https://api.github.com/users/dai0304/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dai0304/subscriptions","organizations_url":"https://api.github.com/users/dai0304/orgs","repos_url":"https://api.github.com/users/dai0304/repos","events_url":"https://api.github.com/users/dai0304/events{/privacy}","received_events_url":"https://api.github.com/users/dai0304/received_events","type":"User","site_admin":false},"labels":[{"id":583121757,"url":"https://api.github.com/repos/acroquest/javabook-support/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"phonypianist","id":16780406,"avatar_url":"https://avatars1.githubusercontent.com/u/16780406?v=3","gravatar_id":"","url":"https://api.github.com/users/phonypianist","html_url":"https://github.com/phonypianist","followers_url":"https://api.github.com/users/phonypianist/followers","following_url":"https://api.github.com/users/phonypianist/following{/other_user}","gists_url":"https://api.github.com/users/phonypianist/gists{/gist_id}","starred_url":"https://api.github.com/users/phonypianist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phonypianist/subscriptions","organizations_url":"https://api.github.com/users/phonypianist/orgs","repos_url":"https://api.github.com/users/phonypianist/repos","events_url":"https://api.github.com/users/phonypianist/events{/privacy}","received_events_url":"https://api.github.com/users/phonypianist/received_events","type":"User","site_admin":false},"assignees":[{"login":"phonypianist","id":16780406,"avatar_url":"https://avatars1.githubusercontent.com/u/16780406?v=3","gravatar_id":"","url":"https://api.github.com/users/phonypianist","html_url":"https://github.com/phonypianist","followers_url":"https://api.github.com/users/phonypianist/followers","following_url":"https://api.github.com/users/phonypianist/following{/other_user}","gists_url":"https://api.github.com/users/phonypianist/gists{/gist_id}","starred_url":"https://api.github.com/users/phonypianist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phonypianist/subscriptions","organizations_url":"https://api.github.com/users/phonypianist/orgs","repos_url":"https://api.github.com/users/phonypianist/repos","events_url":"https://api.github.com/users/phonypianist/events{/privacy}","received_events_url":"https://api.github.com/users/phonypianist/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-04-30T03:05:05Z","updated_at":"2017-05-01T07:05:57Z","closed_at":"2017-05-01T07:05:57Z","body":"L4で `new FileInputStream` を実行した時点でファイルはopenしているはずです。\r\nL5で行う `new FileOutputStream` で例外が発生した場合、finally blockでclose処理を行う対象は`FileChannel` に限定されており、L4の`FileInputStream`はcloseされません。"},"comment":{"url":"https://api.github.com/repos/acroquest/javabook-support/issues/comments/298296746","html_url":"https://github.com/acroquest/javabook-support/issues/17#issuecomment-298296746","issue_url":"https://api.github.com/repos/acroquest/javabook-support/issues/17","id":298296746,"user":{"login":"phonypianist","id":16780406,"avatar_url":"https://avatars1.githubusercontent.com/u/16780406?v=3","gravatar_id":"","url":"https://api.github.com/users/phonypianist","html_url":"https://github.com/phonypianist","followers_url":"https://api.github.com/users/phonypianist/followers","following_url":"https://api.github.com/users/phonypianist/following{/other_user}","gists_url":"https://api.github.com/users/phonypianist/gists{/gist_id}","starred_url":"https://api.github.com/users/phonypianist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phonypianist/subscriptions","organizations_url":"https://api.github.com/users/phonypianist/orgs","repos_url":"https://api.github.com/users/phonypianist/repos","events_url":"https://api.github.com/users/phonypianist/events{/privacy}","received_events_url":"https://api.github.com/users/phonypianist/received_events","type":"User","site_admin":false},"created_at":"2017-05-01T07:05:57Z","updated_at":"2017-05-01T07:05:57Z","body":"ご指摘ありがとうございます。\r\n`new FileOutputStream` を行う前に `inputStream.getChannel()` するように、正誤表に記載いたしました。"}}
{"actor":{"display_login":"phonypianist"}}