{"action":"opened","number":450,"pull_request":{"url":"https://api.github.com/repos/ReadyTalk/avian/pulls/450","id":41086335,"html_url":"https://github.com/ReadyTalk/avian/pull/450","diff_url":"https://github.com/ReadyTalk/avian/pull/450.diff","patch_url":"https://github.com/ReadyTalk/avian/pull/450.patch","issue_url":"https://api.github.com/repos/ReadyTalk/avian/issues/450","number":450,"state":"open","locked":false,"title":"Closeable extends AutoCloseable; RandomAccessFile implements DataInput","user":{"login":"bgould","id":766878,"avatar_url":"https://avatars.githubusercontent.com/u/766878?v=3","gravatar_id":"","url":"https://api.github.com/users/bgould","html_url":"https://github.com/bgould","followers_url":"https://api.github.com/users/bgould/followers","following_url":"https://api.github.com/users/bgould/following{/other_user}","gists_url":"https://api.github.com/users/bgould/gists{/gist_id}","starred_url":"https://api.github.com/users/bgould/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgould/subscriptions","organizations_url":"https://api.github.com/users/bgould/orgs","repos_url":"https://api.github.com/users/bgould/repos","events_url":"https://api.github.com/users/bgould/events{/privacy}","received_events_url":"https://api.github.com/users/bgould/received_events","type":"User","site_admin":false},"body":"In OpenJDK, Closeable extends AutoCloseable so that you can use streams with Java 7's \"try with resources\" syntax.  Patch make Closeable extend from AutoCloseable to enable this functionality for Avian.\r\n\r\nAlso, RandomAccessFile in OpenJDK implements the DataInput interface.  Patch adds methods to RandomAccessFile to implement the interface.  I could add tests for this part if you'd like, but I copied the code almost exactly from Avian's DataInputStream and it looked straightforward, so I didn't.  Please let me know if you'd like me to do so.","created_at":"2015-07-29T04:30:40Z","updated_at":"2015-07-29T04:30:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReadyTalk/avian/pulls/450/commits","review_comments_url":"https://api.github.com/repos/ReadyTalk/avian/pulls/450/comments","review_comment_url":"https://api.github.com/repos/ReadyTalk/avian/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReadyTalk/avian/issues/450/comments","statuses_url":"https://api.github.com/repos/ReadyTalk/avian/statuses/7013dbacfd9fd15ec010f60c34c19471bcc00622","head":{"label":"bgould:io-enhancements","ref":"io-enhancements","sha":"7013dbacfd9fd15ec010f60c34c19471bcc00622","user":{"login":"bgould","id":766878,"avatar_url":"https://avatars.githubusercontent.com/u/766878?v=3","gravatar_id":"","url":"https://api.github.com/users/bgould","html_url":"https://github.com/bgould","followers_url":"https://api.github.com/users/bgould/followers","following_url":"https://api.github.com/users/bgould/following{/other_user}","gists_url":"https://api.github.com/users/bgould/gists{/gist_id}","starred_url":"https://api.github.com/users/bgould/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgould/subscriptions","organizations_url":"https://api.github.com/users/bgould/orgs","repos_url":"https://api.github.com/users/bgould/repos","events_url":"https://api.github.com/users/bgould/events{/privacy}","received_events_url":"https://api.github.com/users/bgould/received_events","type":"User","site_admin":false},"repo":{"id":23984466,"name":"avian","full_name":"bgould/avian","owner":{"login":"bgould","id":766878,"avatar_url":"https://avatars.githubusercontent.com/u/766878?v=3","gravatar_id":"","url":"https://api.github.com/users/bgould","html_url":"https://github.com/bgould","followers_url":"https://api.github.com/users/bgould/followers","following_url":"https://api.github.com/users/bgould/following{/other_user}","gists_url":"https://api.github.com/users/bgould/gists{/gist_id}","starred_url":"https://api.github.com/users/bgould/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgould/subscriptions","organizations_url":"https://api.github.com/users/bgould/orgs","repos_url":"https://api.github.com/users/bgould/repos","events_url":"https://api.github.com/users/bgould/events{/privacy}","received_events_url":"https://api.github.com/users/bgould/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bgould/avian","description":"Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.","fork":true,"url":"https://api.github.com/repos/bgould/avian","forks_url":"https://api.github.com/repos/bgould/avian/forks","keys_url":"https://api.github.com/repos/bgould/avian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bgould/avian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bgould/avian/teams","hooks_url":"https://api.github.com/repos/bgould/avian/hooks","issue_events_url":"https://api.github.com/repos/bgould/avian/issues/events{/number}","events_url":"https://api.github.com/repos/bgould/avian/events","assignees_url":"https://api.github.com/repos/bgould/avian/assignees{/user}","branches_url":"https://api.github.com/repos/bgould/avian/branches{/branch}","tags_url":"https://api.github.com/repos/bgould/avian/tags","blobs_url":"https://api.github.com/repos/bgould/avian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bgould/avian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bgould/avian/git/refs{/sha}","trees_url":"https://api.github.com/repos/bgould/avian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bgould/avian/statuses/{sha}","languages_url":"https://api.github.com/repos/bgould/avian/languages","stargazers_url":"https://api.github.com/repos/bgould/avian/stargazers","contributors_url":"https://api.github.com/repos/bgould/avian/contributors","subscribers_url":"https://api.github.com/repos/bgould/avian/subscribers","subscription_url":"https://api.github.com/repos/bgould/avian/subscription","commits_url":"https://api.github.com/repos/bgould/avian/commits{/sha}","git_commits_url":"https://api.github.com/repos/bgould/avian/git/commits{/sha}","comments_url":"https://api.github.com/repos/bgould/avian/comments{/number}","issue_comment_url":"https://api.github.com/repos/bgould/avian/issues/comments{/number}","contents_url":"https://api.github.com/repos/bgould/avian/contents/{+path}","compare_url":"https://api.github.com/repos/bgould/avian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bgould/avian/merges","archive_url":"https://api.github.com/repos/bgould/avian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bgould/avian/downloads","issues_url":"https://api.github.com/repos/bgould/avian/issues{/number}","pulls_url":"https://api.github.com/repos/bgould/avian/pulls{/number}","milestones_url":"https://api.github.com/repos/bgould/avian/milestones{/number}","notifications_url":"https://api.github.com/repos/bgould/avian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bgould/avian/labels{/name}","releases_url":"https://api.github.com/repos/bgould/avian/releases{/id}","created_at":"2014-09-13T03:09:06Z","updated_at":"2015-03-20T00:04:57Z","pushed_at":"2015-07-29T03:34:17Z","git_url":"git://github.com/bgould/avian.git","ssh_url":"git@github.com:bgould/avian.git","clone_url":"https://github.com/bgould/avian.git","svn_url":"https://github.com/bgould/avian","homepage":"http://oss.readytalk.com/avian/","size":22529,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ReadyTalk:master","ref":"master","sha":"38e66d80c8831e54561ccfc4d571db36d091cd33","user":{"login":"ReadyTalk","id":397762,"avatar_url":"https://avatars.githubusercontent.com/u/397762?v=3","gravatar_id":"","url":"https://api.github.com/users/ReadyTalk","html_url":"https://github.com/ReadyTalk","followers_url":"https://api.github.com/users/ReadyTalk/followers","following_url":"https://api.github.com/users/ReadyTalk/following{/other_user}","gists_url":"https://api.github.com/users/ReadyTalk/gists{/gist_id}","starred_url":"https://api.github.com/users/ReadyTalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReadyTalk/subscriptions","organizations_url":"https://api.github.com/users/ReadyTalk/orgs","repos_url":"https://api.github.com/users/ReadyTalk/repos","events_url":"https://api.github.com/users/ReadyTalk/events{/privacy}","received_events_url":"https://api.github.com/users/ReadyTalk/received_events","type":"Organization","site_admin":false},"repo":{"id":4227709,"name":"avian","full_name":"ReadyTalk/avian","owner":{"login":"ReadyTalk","id":397762,"avatar_url":"https://avatars.githubusercontent.com/u/397762?v=3","gravatar_id":"","url":"https://api.github.com/users/ReadyTalk","html_url":"https://github.com/ReadyTalk","followers_url":"https://api.github.com/users/ReadyTalk/followers","following_url":"https://api.github.com/users/ReadyTalk/following{/other_user}","gists_url":"https://api.github.com/users/ReadyTalk/gists{/gist_id}","starred_url":"https://api.github.com/users/ReadyTalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReadyTalk/subscriptions","organizations_url":"https://api.github.com/users/ReadyTalk/orgs","repos_url":"https://api.github.com/users/ReadyTalk/repos","events_url":"https://api.github.com/users/ReadyTalk/events{/privacy}","received_events_url":"https://api.github.com/users/ReadyTalk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReadyTalk/avian","description":"Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.","fork":false,"url":"https://api.github.com/repos/ReadyTalk/avian","forks_url":"https://api.github.com/repos/ReadyTalk/avian/forks","keys_url":"https://api.github.com/repos/ReadyTalk/avian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReadyTalk/avian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReadyTalk/avian/teams","hooks_url":"https://api.github.com/repos/ReadyTalk/avian/hooks","issue_events_url":"https://api.github.com/repos/ReadyTalk/avian/issues/events{/number}","events_url":"https://api.github.com/repos/ReadyTalk/avian/events","assignees_url":"https://api.github.com/repos/ReadyTalk/avian/assignees{/user}","branches_url":"https://api.github.com/repos/ReadyTalk/avian/branches{/branch}","tags_url":"https://api.github.com/repos/ReadyTalk/avian/tags","blobs_url":"https://api.github.com/repos/ReadyTalk/avian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReadyTalk/avian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReadyTalk/avian/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReadyTalk/avian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReadyTalk/avian/statuses/{sha}","languages_url":"https://api.github.com/repos/ReadyTalk/avian/languages","stargazers_url":"https://api.github.com/repos/ReadyTalk/avian/stargazers","contributors_url":"https://api.github.com/repos/ReadyTalk/avian/contributors","subscribers_url":"https://api.github.com/repos/ReadyTalk/avian/subscribers","subscription_url":"https://api.github.com/repos/ReadyTalk/avian/subscription","commits_url":"https://api.github.com/repos/ReadyTalk/avian/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReadyTalk/avian/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReadyTalk/avian/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReadyTalk/avian/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReadyTalk/avian/contents/{+path}","compare_url":"https://api.github.com/repos/ReadyTalk/avian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReadyTalk/avian/merges","archive_url":"https://api.github.com/repos/ReadyTalk/avian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReadyTalk/avian/downloads","issues_url":"https://api.github.com/repos/ReadyTalk/avian/issues{/number}","pulls_url":"https://api.github.com/repos/ReadyTalk/avian/pulls{/number}","milestones_url":"https://api.github.com/repos/ReadyTalk/avian/milestones{/number}","notifications_url":"https://api.github.com/repos/ReadyTalk/avian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReadyTalk/avian/labels{/name}","releases_url":"https://api.github.com/repos/ReadyTalk/avian/releases{/id}","created_at":"2012-05-04T18:18:55Z","updated_at":"2015-07-28T12:39:55Z","pushed_at":"2015-07-29T02:50:04Z","git_url":"git://github.com/ReadyTalk/avian.git","ssh_url":"git@github.com:ReadyTalk/avian.git","clone_url":"https://github.com/ReadyTalk/avian.git","svn_url":"https://github.com/ReadyTalk/avian","homepage":"http://oss.readytalk.com/avian/","size":26143,"stargazers_count":463,"watchers_count":463,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":86,"mirror_url":null,"open_issues_count":19,"forks":86,"open_issues":19,"watchers":463,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReadyTalk/avian/pulls/450"},"html":{"href":"https://github.com/ReadyTalk/avian/pull/450"},"issue":{"href":"https://api.github.com/repos/ReadyTalk/avian/issues/450"},"comments":{"href":"https://api.github.com/repos/ReadyTalk/avian/issues/450/comments"},"review_comments":{"href":"https://api.github.com/repos/ReadyTalk/avian/pulls/450/comments"},"review_comment":{"href":"https://api.github.com/repos/ReadyTalk/avian/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReadyTalk/avian/pulls/450/commits"},"statuses":{"href":"https://api.github.com/repos/ReadyTalk/avian/statuses/7013dbacfd9fd15ec010f60c34c19471bcc00622"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":104,"deletions":24,"changed_files":2}}