{"action":"closed","number":2237,"pull_request":{"url":"https://api.github.com/repos/diffblue/cbmc/pulls/2237","id":190360134,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwMzYwMTM0","html_url":"https://github.com/diffblue/cbmc/pull/2237","diff_url":"https://github.com/diffblue/cbmc/pull/2237.diff","patch_url":"https://github.com/diffblue/cbmc/pull/2237.patch","issue_url":"https://api.github.com/repos/diffblue/cbmc/issues/2237","number":2237,"state":"closed","locked":false,"title":"Java class literals: init using a library hook when possible","user":{"login":"smowton","id":283483,"node_id":"MDQ6VXNlcjI4MzQ4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/283483?v=4","gravatar_id":"","url":"https://api.github.com/users/smowton","html_url":"https://github.com/smowton","followers_url":"https://api.github.com/users/smowton/followers","following_url":"https://api.github.com/users/smowton/following{/other_user}","gists_url":"https://api.github.com/users/smowton/gists{/gist_id}","starred_url":"https://api.github.com/users/smowton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smowton/subscriptions","organizations_url":"https://api.github.com/users/smowton/orgs","repos_url":"https://api.github.com/users/smowton/repos","events_url":"https://api.github.com/users/smowton/events{/privacy}","received_events_url":"https://api.github.com/users/smowton/received_events","type":"User","site_admin":false},"body":"The Java library definition of java.lang.Class, when nondet initialized, can be quite time\r\nconsuming due to the enumeration constant dictionary's internal array. Instead, let's give\r\nthe library a chance to set Class constants (literals like MyClass.class) itself.\r\n\r\nWhile we're at it we might as well gain the ability to prove some properties of the literals.\r\nWe currently supply those class attributes that are easy to come by in the parse tree; with a\r\nlittle more effort in the parser IsLocalClass and IsMemberClass could be determined, and\r\nthe String literal for the name requires just a little more effort too.","created_at":"2018-05-24T17:11:03Z","updated_at":"2018-06-01T15:16:53Z","closed_at":"2018-06-01T15:16:53Z","merged_at":"2018-06-01T15:16:53Z","merge_commit_sha":"381734114fa0d20e4762f69f2889da0246b19314","assignee":null,"assignees":[],"requested_reviewers":[{"login":"cesaro","id":143977,"node_id":"MDQ6VXNlcjE0Mzk3Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/143977?v=4","gravatar_id":"","url":"https://api.github.com/users/cesaro","html_url":"https://github.com/cesaro","followers_url":"https://api.github.com/users/cesaro/followers","following_url":"https://api.github.com/users/cesaro/following{/other_user}","gists_url":"https://api.github.com/users/cesaro/gists{/gist_id}","starred_url":"https://api.github.com/users/cesaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesaro/subscriptions","organizations_url":"https://api.github.com/users/cesaro/orgs","repos_url":"https://api.github.com/users/cesaro/repos","events_url":"https://api.github.com/users/cesaro/events{/privacy}","received_events_url":"https://api.github.com/users/cesaro/received_events","type":"User","site_admin":false},{"login":"mgudemann","id":2590540,"node_id":"MDQ6VXNlcjI1OTA1NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2590540?v=4","gravatar_id":"","url":"https://api.github.com/users/mgudemann","html_url":"https://github.com/mgudemann","followers_url":"https://api.github.com/users/mgudemann/followers","following_url":"https://api.github.com/users/mgudemann/following{/other_user}","gists_url":"https://api.github.com/users/mgudemann/gists{/gist_id}","starred_url":"https://api.github.com/users/mgudemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgudemann/subscriptions","organizations_url":"https://api.github.com/users/mgudemann/orgs","repos_url":"https://api.github.com/users/mgudemann/repos","events_url":"https://api.github.com/users/mgudemann/events{/privacy}","received_events_url":"https://api.github.com/users/mgudemann/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/diffblue/cbmc/pulls/2237/commits","review_comments_url":"https://api.github.com/repos/diffblue/cbmc/pulls/2237/comments","review_comment_url":"https://api.github.com/repos/diffblue/cbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diffblue/cbmc/issues/2237/comments","statuses_url":"https://api.github.com/repos/diffblue/cbmc/statuses/4eda8ad48999cfaedf510768903f37700ed80ff9","head":{"label":"smowton:smowton/feature/initialize-class-literals","ref":"smowton/feature/initialize-class-literals","sha":"4eda8ad48999cfaedf510768903f37700ed80ff9","user":{"login":"smowton","id":283483,"node_id":"MDQ6VXNlcjI4MzQ4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/283483?v=4","gravatar_id":"","url":"https://api.github.com/users/smowton","html_url":"https://github.com/smowton","followers_url":"https://api.github.com/users/smowton/followers","following_url":"https://api.github.com/users/smowton/following{/other_user}","gists_url":"https://api.github.com/users/smowton/gists{/gist_id}","starred_url":"https://api.github.com/users/smowton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smowton/subscriptions","organizations_url":"https://api.github.com/users/smowton/orgs","repos_url":"https://api.github.com/users/smowton/repos","events_url":"https://api.github.com/users/smowton/events{/privacy}","received_events_url":"https://api.github.com/users/smowton/received_events","type":"User","site_admin":false},"repo":{"id":75178953,"node_id":"MDEwOlJlcG9zaXRvcnk3NTE3ODk1Mw==","name":"cbmc","full_name":"smowton/cbmc","owner":{"login":"smowton","id":283483,"node_id":"MDQ6VXNlcjI4MzQ4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/283483?v=4","gravatar_id":"","url":"https://api.github.com/users/smowton","html_url":"https://github.com/smowton","followers_url":"https://api.github.com/users/smowton/followers","following_url":"https://api.github.com/users/smowton/following{/other_user}","gists_url":"https://api.github.com/users/smowton/gists{/gist_id}","starred_url":"https://api.github.com/users/smowton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smowton/subscriptions","organizations_url":"https://api.github.com/users/smowton/orgs","repos_url":"https://api.github.com/users/smowton/repos","events_url":"https://api.github.com/users/smowton/events{/privacy}","received_events_url":"https://api.github.com/users/smowton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smowton/cbmc","description":"C Bounded Model Checker","fork":true,"url":"https://api.github.com/repos/smowton/cbmc","forks_url":"https://api.github.com/repos/smowton/cbmc/forks","keys_url":"https://api.github.com/repos/smowton/cbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smowton/cbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smowton/cbmc/teams","hooks_url":"https://api.github.com/repos/smowton/cbmc/hooks","issue_events_url":"https://api.github.com/repos/smowton/cbmc/issues/events{/number}","events_url":"https://api.github.com/repos/smowton/cbmc/events","assignees_url":"https://api.github.com/repos/smowton/cbmc/assignees{/user}","branches_url":"https://api.github.com/repos/smowton/cbmc/branches{/branch}","tags_url":"https://api.github.com/repos/smowton/cbmc/tags","blobs_url":"https://api.github.com/repos/smowton/cbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smowton/cbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smowton/cbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/smowton/cbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smowton/cbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/smowton/cbmc/languages","stargazers_url":"https://api.github.com/repos/smowton/cbmc/stargazers","contributors_url":"https://api.github.com/repos/smowton/cbmc/contributors","subscribers_url":"https://api.github.com/repos/smowton/cbmc/subscribers","subscription_url":"https://api.github.com/repos/smowton/cbmc/subscription","commits_url":"https://api.github.com/repos/smowton/cbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/smowton/cbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/smowton/cbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/smowton/cbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/smowton/cbmc/contents/{+path}","compare_url":"https://api.github.com/repos/smowton/cbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smowton/cbmc/merges","archive_url":"https://api.github.com/repos/smowton/cbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smowton/cbmc/downloads","issues_url":"https://api.github.com/repos/smowton/cbmc/issues{/number}","pulls_url":"https://api.github.com/repos/smowton/cbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/smowton/cbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/smowton/cbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smowton/cbmc/labels{/name}","releases_url":"https://api.github.com/repos/smowton/cbmc/releases{/id}","deployments_url":"https://api.github.com/repos/smowton/cbmc/deployments","created_at":"2016-11-30T11:02:38Z","updated_at":"2016-11-30T11:02:46Z","pushed_at":"2018-06-01T10:23:06Z","git_url":"git://github.com/smowton/cbmc.git","ssh_url":"git@github.com:smowton/cbmc.git","clone_url":"https://github.com/smowton/cbmc.git","svn_url":"https://github.com/smowton/cbmc","homepage":"http://www.cprover.org/cbmc","size":36992,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"diffblue:develop","ref":"develop","sha":"70f13f3f08d615d463f5a063d59706120dc57391","user":{"login":"diffblue","id":17216098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MjE2MDk4","avatar_url":"https://avatars0.githubusercontent.com/u/17216098?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"repo":{"id":51877056,"node_id":"MDEwOlJlcG9zaXRvcnk1MTg3NzA1Ng==","name":"cbmc","full_name":"diffblue/cbmc","owner":{"login":"diffblue","id":17216098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MjE2MDk4","avatar_url":"https://avatars0.githubusercontent.com/u/17216098?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diffblue/cbmc","description":"C Bounded Model Checker","fork":false,"url":"https://api.github.com/repos/diffblue/cbmc","forks_url":"https://api.github.com/repos/diffblue/cbmc/forks","keys_url":"https://api.github.com/repos/diffblue/cbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diffblue/cbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diffblue/cbmc/teams","hooks_url":"https://api.github.com/repos/diffblue/cbmc/hooks","issue_events_url":"https://api.github.com/repos/diffblue/cbmc/issues/events{/number}","events_url":"https://api.github.com/repos/diffblue/cbmc/events","assignees_url":"https://api.github.com/repos/diffblue/cbmc/assignees{/user}","branches_url":"https://api.github.com/repos/diffblue/cbmc/branches{/branch}","tags_url":"https://api.github.com/repos/diffblue/cbmc/tags","blobs_url":"https://api.github.com/repos/diffblue/cbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diffblue/cbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diffblue/cbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/diffblue/cbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diffblue/cbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/diffblue/cbmc/languages","stargazers_url":"https://api.github.com/repos/diffblue/cbmc/stargazers","contributors_url":"https://api.github.com/repos/diffblue/cbmc/contributors","subscribers_url":"https://api.github.com/repos/diffblue/cbmc/subscribers","subscription_url":"https://api.github.com/repos/diffblue/cbmc/subscription","commits_url":"https://api.github.com/repos/diffblue/cbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/diffblue/cbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/diffblue/cbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/diffblue/cbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/diffblue/cbmc/contents/{+path}","compare_url":"https://api.github.com/repos/diffblue/cbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diffblue/cbmc/merges","archive_url":"https://api.github.com/repos/diffblue/cbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diffblue/cbmc/downloads","issues_url":"https://api.github.com/repos/diffblue/cbmc/issues{/number}","pulls_url":"https://api.github.com/repos/diffblue/cbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/diffblue/cbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/diffblue/cbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diffblue/cbmc/labels{/name}","releases_url":"https://api.github.com/repos/diffblue/cbmc/releases{/id}","deployments_url":"https://api.github.com/repos/diffblue/cbmc/deployments","created_at":"2016-02-16T23:03:52Z","updated_at":"2018-06-01T09:42:08Z","pushed_at":"2018-06-01T15:16:53Z","git_url":"git://github.com/diffblue/cbmc.git","ssh_url":"git@github.com:diffblue/cbmc.git","clone_url":"https://github.com/diffblue/cbmc.git","svn_url":"https://github.com/diffblue/cbmc","homepage":"http://www.cprover.org/cbmc","size":31481,"stargazers_count":114,"watchers_count":114,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":94,"mirror_url":null,"archived":false,"open_issues_count":387,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":94,"open_issues":387,"watchers":114,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/2237"},"html":{"href":"https://github.com/diffblue/cbmc/pull/2237"},"issue":{"href":"https://api.github.com/repos/diffblue/cbmc/issues/2237"},"comments":{"href":"https://api.github.com/repos/diffblue/cbmc/issues/2237/comments"},"review_comments":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/2237/comments"},"review_comment":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/2237/commits"},"statuses":{"href":"https://api.github.com/repos/diffblue/cbmc/statuses/4eda8ad48999cfaedf510768903f37700ed80ff9"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"smowton","id":283483,"node_id":"MDQ6VXNlcjI4MzQ4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/283483?v=4","gravatar_id":"","url":"https://api.github.com/users/smowton","html_url":"https://github.com/smowton","followers_url":"https://api.github.com/users/smowton/followers","following_url":"https://api.github.com/users/smowton/following{/other_user}","gists_url":"https://api.github.com/users/smowton/gists{/gist_id}","starred_url":"https://api.github.com/users/smowton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smowton/subscriptions","organizations_url":"https://api.github.com/users/smowton/orgs","repos_url":"https://api.github.com/users/smowton/repos","events_url":"https://api.github.com/users/smowton/events{/privacy}","received_events_url":"https://api.github.com/users/smowton/received_events","type":"User","site_admin":false},"comments":4,"review_comments":19,"maintainer_can_modify":false,"commits":1,"additions":288,"deletions":9,"changed_files":23}}
{"actor":{"display_login":"smowton"}}