{"action":"opened","issue":{"url":"https://api.github.com/repos/skylot/jadx/issues/52","labels_url":"https://api.github.com/repos/skylot/jadx/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/skylot/jadx/issues/52/comments","events_url":"https://api.github.com/repos/skylot/jadx/issues/52/events","html_url":"https://github.com/skylot/jadx/issues/52","id":58102617,"number":52,"title":"JadxOverflowException: Regions count limit reached","user":{"login":"jmue","id":898577,"avatar_url":"https://avatars.githubusercontent.com/u/898577?v=3","gravatar_id":"","url":"https://api.github.com/users/jmue","html_url":"https://github.com/jmue","followers_url":"https://api.github.com/users/jmue/followers","following_url":"https://api.github.com/users/jmue/following{/other_user}","gists_url":"https://api.github.com/users/jmue/gists{/gist_id}","starred_url":"https://api.github.com/users/jmue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmue/subscriptions","organizations_url":"https://api.github.com/users/jmue/orgs","repos_url":"https://api.github.com/users/jmue/repos","events_url":"https://api.github.com/users/jmue/events{/privacy}","received_events_url":"https://api.github.com/users/jmue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T17:51:30Z","updated_at":"2015-02-18T17:51:30Z","closed_at":null,"body":"The following sample failes to decompile, it generates a JadxOverflowException.\r\n\r\n    public static int countBits(int k) {\r\n        int accum = 0;\r\n        while (true) {\r\n            switch (k) {\r\n                case 0:\r\n                    return accum;\r\n                default:\r\n                    accum++;\r\n                    k >>= 1;\r\n            }\r\n        }\r\n    }"}}