{"action":"closed","issue":{"url":"https://api.github.com/repos/druid-io/druid/issues/2979","repository_url":"https://api.github.com/repos/druid-io/druid","labels_url":"https://api.github.com/repos/druid-io/druid/issues/2979/labels{/name}","comments_url":"https://api.github.com/repos/druid-io/druid/issues/2979/comments","events_url":"https://api.github.com/repos/druid-io/druid/issues/2979/events","html_url":"https://github.com/druid-io/druid/issues/2979","id":155366319,"number":2979,"title":"io.druid.granularity.QueryGranularity has class initialization deadlock.","user":{"login":"drcrallen","id":8213081,"avatar_url":"https://avatars.githubusercontent.com/u/8213081?v=3","gravatar_id":"","url":"https://api.github.com/users/drcrallen","html_url":"https://github.com/drcrallen","followers_url":"https://api.github.com/users/drcrallen/followers","following_url":"https://api.github.com/users/drcrallen/following{/other_user}","gists_url":"https://api.github.com/users/drcrallen/gists{/gist_id}","starred_url":"https://api.github.com/users/drcrallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drcrallen/subscriptions","organizations_url":"https://api.github.com/users/drcrallen/orgs","repos_url":"https://api.github.com/users/drcrallen/repos","events_url":"https://api.github.com/users/drcrallen/events{/privacy}","received_events_url":"https://api.github.com/users/drcrallen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/druid-io/druid/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-17T21:27:57Z","updated_at":"2016-05-17T23:23:48Z","closed_at":"2016-05-17T23:23:48Z","body":"`io.druid.granularity.QueryGranularity` has the following static fields\r\n\r\n```java\r\n  public static final QueryGranularity ALL = new AllGranularity();\r\n  public static final QueryGranularity NONE = new NoneGranularity();\r\n```\r\n\r\nIntellij gives a warning related to https://bugs.openjdk.java.net/browse/JDK-6301579 where static initializers of a class that use a subclass can deadlock.\r\n\r\nThis happens pretty regularly in one of our libraries that uses druid jackson serde stuff but only on one pipeline. Haven't seen it anywhere else yet."}}