{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/buck/issues/994","repository_url":"https://api.github.com/repos/facebook/buck","labels_url":"https://api.github.com/repos/facebook/buck/issues/994/labels{/name}","comments_url":"https://api.github.com/repos/facebook/buck/issues/994/comments","events_url":"https://api.github.com/repos/facebook/buck/issues/994/events","html_url":"https://github.com/facebook/buck/issues/994","id":187203136,"number":994,"title":"Consider to integrate error prone (or other sanity check tool) out of the box in java build tool chain","user":{"login":"davido","id":347173,"avatar_url":"https://avatars.githubusercontent.com/u/347173?v=3","gravatar_id":"","url":"https://api.github.com/users/davido","html_url":"https://github.com/davido","followers_url":"https://api.github.com/users/davido/followers","following_url":"https://api.github.com/users/davido/following{/other_user}","gists_url":"https://api.github.com/users/davido/gists{/gist_id}","starred_url":"https://api.github.com/users/davido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davido/subscriptions","organizations_url":"https://api.github.com/users/davido/orgs","repos_url":"https://api.github.com/users/davido/repos","events_url":"https://api.github.com/users/davido/events{/privacy}","received_events_url":"https://api.github.com/users/davido/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-03T22:04:55Z","updated_at":"2016-12-11T21:48:25Z","closed_at":"2016-12-11T21:48:25Z","body":"Gerrit Code Review can be compiled with most recent Buck version (d6949e1440ef2048d697c637a4adae1b509bf72d) without any issues.\r\n\r\nWith vanilla Bazel 0.4.0 Gerrit is failing to compile, though, and tells me that:\r\n\r\n```\r\n  $ bazel build gerrit\r\nINFO: Found 1 target...\r\nERROR: /home/davido/projects/gerrit/gerrit-sshd/BUILD:5:1: Java\r\ncompilation in rule '//gerrit-sshd:sshd' failed: Worker process sent\r\nresponse with exit code: 1.\r\nbazel-out/local-fastbuild/bin/gerrit\r\n-sshd/_javac/sshd/libsshd_sourcegenfiles/com/google/gerrit/sshd/AutoAnn\r\notation_Commands_named.java:52: error: [ConstantOverflow] Compile-time\r\nconstant expression overflows\r\n        ((127 * 111972721) ^ (value.hashCode()));\r\n                           ^\r\n    (see http://errorprone.info/bugpattern/ConstantOverflow)\r\n1 error\r\nTarget //:gerrit failed to build\r\nUse --verbose_failures to see the command lines of failed build steps.\r\nINFO: Elapsed time: 2.393s, Critical Path: 2.17s\r\n```\r\n\r\nIt turns out, this is a bug in auto-value dependency, that was fixed here: [1].\r\n\r\n* [1] https://github.com/google/auto/pull/371\r\n"}}
{"actor":{"display_login":"davido"}}