{"action":"created","issue":{"url":"https://api.github.com/repos/DanMcLaughlin/antlr4/issues/35","repository_url":"https://api.github.com/repos/DanMcLaughlin/antlr4","labels_url":"https://api.github.com/repos/DanMcLaughlin/antlr4/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/DanMcLaughlin/antlr4/issues/35/comments","events_url":"https://api.github.com/repos/DanMcLaughlin/antlr4/issues/35/events","html_url":"https://github.com/DanMcLaughlin/antlr4/pull/35","id":169341546,"number":35,"title":"Without these tests, the demo crashes","user":{"login":"nburles","id":1292905,"avatar_url":"https://avatars.githubusercontent.com/u/1292905?v=3","gravatar_id":"","url":"https://api.github.com/users/nburles","html_url":"https://github.com/nburles","followers_url":"https://api.github.com/users/nburles/followers","following_url":"https://api.github.com/users/nburles/following{/other_user}","gists_url":"https://api.github.com/users/nburles/gists{/gist_id}","starred_url":"https://api.github.com/users/nburles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nburles/subscriptions","organizations_url":"https://api.github.com/users/nburles/orgs","repos_url":"https://api.github.com/users/nburles/repos","events_url":"https://api.github.com/users/nburles/events{/privacy}","received_events_url":"https://api.github.com/users/nburles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-04T10:22:01Z","updated_at":"2016-08-04T12:55:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DanMcLaughlin/antlr4/pulls/35","html_url":"https://github.com/DanMcLaughlin/antlr4/pull/35","diff_url":"https://github.com/DanMcLaughlin/antlr4/pull/35.diff","patch_url":"https://github.com/DanMcLaughlin/antlr4/pull/35.patch"},"body":"At PredictionContext.h:247 : k->hashCode()\r\n\r\nThis is on a clean checkout without any of my other changes."},"comment":{"url":"https://api.github.com/repos/DanMcLaughlin/antlr4/issues/comments/237543985","html_url":"https://github.com/DanMcLaughlin/antlr4/pull/35#issuecomment-237543985","issue_url":"https://api.github.com/repos/DanMcLaughlin/antlr4/issues/35","id":237543985,"user":{"login":"nburles","id":1292905,"avatar_url":"https://avatars.githubusercontent.com/u/1292905?v=3","gravatar_id":"","url":"https://api.github.com/users/nburles","html_url":"https://github.com/nburles","followers_url":"https://api.github.com/users/nburles/followers","following_url":"https://api.github.com/users/nburles/following{/other_user}","gists_url":"https://api.github.com/users/nburles/gists{/gist_id}","starred_url":"https://api.github.com/users/nburles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nburles/subscriptions","organizations_url":"https://api.github.com/users/nburles/orgs","repos_url":"https://api.github.com/users/nburles/repos","events_url":"https://api.github.com/users/nburles/events{/privacy}","received_events_url":"https://api.github.com/users/nburles/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T12:55:03Z","updated_at":"2016-08-04T12:55:03Z","body":"The difference with Java is likely that way that `Map`s work... `!uniqueParents.containsKey(parent)` \"returns True if and only if this map contains a mapping for a key _k_ such that `(k == null ? key == null : k.equals(key))`.  So Java does the null check inside the Map (it does the same for `.get()`).\r\n\r\ni.e. if a null pointer is passed as `parent`, Java will not try to establish content equality - which is where we're crashing."}}
{"actor":{"display_login":"nburles"}}