{"action":"created","issue":{"url":"https://api.github.com/repos/pmd/pmd/issues/472","repository_url":"https://api.github.com/repos/pmd/pmd","labels_url":"https://api.github.com/repos/pmd/pmd/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/pmd/pmd/issues/472/comments","events_url":"https://api.github.com/repos/pmd/pmd/issues/472/events","html_url":"https://github.com/pmd/pmd/pull/472","id":238716483,"number":472,"title":"[java] fix error with raw types, bug #471","user":{"login":"WinterGrascph","id":17526848,"avatar_url":"https://avatars2.githubusercontent.com/u/17526848?v=3","gravatar_id":"","url":"https://api.github.com/users/WinterGrascph","html_url":"https://github.com/WinterGrascph","followers_url":"https://api.github.com/users/WinterGrascph/followers","following_url":"https://api.github.com/users/WinterGrascph/following{/other_user}","gists_url":"https://api.github.com/users/WinterGrascph/gists{/gist_id}","starred_url":"https://api.github.com/users/WinterGrascph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WinterGrascph/subscriptions","organizations_url":"https://api.github.com/users/WinterGrascph/orgs","repos_url":"https://api.github.com/users/WinterGrascph/repos","events_url":"https://api.github.com/users/WinterGrascph/events{/privacy}","received_events_url":"https://api.github.com/users/WinterGrascph/received_events","type":"User","site_admin":false},"labels":[{"id":9035844,"url":"https://api.github.com/repos/pmd/pmd/labels/a:bug","name":"a:bug","color":"fc2929","default":false},{"id":586458227,"url":"https://api.github.com/repos/pmd/pmd/labels/in:type-resolution","name":"in:type-resolution","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":{"login":"jsotuyod","id":802626,"avatar_url":"https://avatars0.githubusercontent.com/u/802626?v=3","gravatar_id":"","url":"https://api.github.com/users/jsotuyod","html_url":"https://github.com/jsotuyod","followers_url":"https://api.github.com/users/jsotuyod/followers","following_url":"https://api.github.com/users/jsotuyod/following{/other_user}","gists_url":"https://api.github.com/users/jsotuyod/gists{/gist_id}","starred_url":"https://api.github.com/users/jsotuyod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsotuyod/subscriptions","organizations_url":"https://api.github.com/users/jsotuyod/orgs","repos_url":"https://api.github.com/users/jsotuyod/repos","events_url":"https://api.github.com/users/jsotuyod/events{/privacy}","received_events_url":"https://api.github.com/users/jsotuyod/received_events","type":"User","site_admin":false},"assignees":[{"login":"jsotuyod","id":802626,"avatar_url":"https://avatars0.githubusercontent.com/u/802626?v=3","gravatar_id":"","url":"https://api.github.com/users/jsotuyod","html_url":"https://github.com/jsotuyod","followers_url":"https://api.github.com/users/jsotuyod/followers","following_url":"https://api.github.com/users/jsotuyod/following{/other_user}","gists_url":"https://api.github.com/users/jsotuyod/gists{/gist_id}","starred_url":"https://api.github.com/users/jsotuyod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsotuyod/subscriptions","organizations_url":"https://api.github.com/users/jsotuyod/orgs","repos_url":"https://api.github.com/users/jsotuyod/repos","events_url":"https://api.github.com/users/jsotuyod/events{/privacy}","received_events_url":"https://api.github.com/users/jsotuyod/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pmd/pmd/milestones/15","html_url":"https://github.com/pmd/pmd/milestone/15","labels_url":"https://api.github.com/repos/pmd/pmd/milestones/15/labels","id":2606468,"number":15,"title":"5.8.1","description":"","creator":{"login":"adangel","id":1573684,"avatar_url":"https://avatars1.githubusercontent.com/u/1573684?v=3","gravatar_id":"","url":"https://api.github.com/users/adangel","html_url":"https://github.com/adangel","followers_url":"https://api.github.com/users/adangel/followers","following_url":"https://api.github.com/users/adangel/following{/other_user}","gists_url":"https://api.github.com/users/adangel/gists{/gist_id}","starred_url":"https://api.github.com/users/adangel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adangel/subscriptions","organizations_url":"https://api.github.com/users/adangel/orgs","repos_url":"https://api.github.com/users/adangel/repos","events_url":"https://api.github.com/users/adangel/events{/privacy}","received_events_url":"https://api.github.com/users/adangel/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2017-06-27T07:08:32Z","updated_at":"2017-06-29T23:26:10Z","due_on":"2017-06-30T07:00:00Z","closed_at":null},"comments":4,"created_at":"2017-06-27T01:55:27Z","updated_at":"2017-06-29T23:26:10Z","closed_at":"2017-06-29T23:26:10Z","pull_request":{"url":"https://api.github.com/repos/pmd/pmd/pulls/472","html_url":"https://github.com/pmd/pmd/pull/472","diff_url":"https://github.com/pmd/pmd/pull/472.diff","patch_url":"https://github.com/pmd/pmd/pull/472.patch"},"body":"Issue was with determining the upper bounds of raw types when they had type parameters\r\nwith circular references, example: GenericClass<E extends Foo<E>> #471 "},"comment":{"url":"https://api.github.com/repos/pmd/pmd/issues/comments/312134530","html_url":"https://github.com/pmd/pmd/pull/472#issuecomment-312134530","issue_url":"https://api.github.com/repos/pmd/pmd/issues/472","id":312134530,"user":{"login":"jsotuyod","id":802626,"avatar_url":"https://avatars0.githubusercontent.com/u/802626?v=3","gravatar_id":"","url":"https://api.github.com/users/jsotuyod","html_url":"https://github.com/jsotuyod","followers_url":"https://api.github.com/users/jsotuyod/followers","following_url":"https://api.github.com/users/jsotuyod/following{/other_user}","gists_url":"https://api.github.com/users/jsotuyod/gists{/gist_id}","starred_url":"https://api.github.com/users/jsotuyod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsotuyod/subscriptions","organizations_url":"https://api.github.com/users/jsotuyod/orgs","repos_url":"https://api.github.com/users/jsotuyod/repos","events_url":"https://api.github.com/users/jsotuyod/events{/privacy}","received_events_url":"https://api.github.com/users/jsotuyod/received_events","type":"User","site_admin":false},"created_at":"2017-06-29T23:26:10Z","updated_at":"2017-06-29T23:26:10Z","body":"I'm closing this. I just pushed a fix to the 5.8.x branch that I believe better handles all these scenarios:\r\n - raw types\r\n - `class Foo<A extends B, B extends Integer>`\r\n - `class Foo<A extends Convertible<B>, B extends Convertible<A>>`\r\n\r\nThe main change is that resolution of generic types is no longer greedy, but lazy. I did have to change an API for this (`getGenericArgs()` is no more, due to it's greedy nature), and the builder was removed, since it no longer made sense with lazy arguments, and was replaced by a factory method.\r\n\r\nI trust these changes to be ok in spite of this being a bug fix release, since those APIs were brand new, and introduced in 5.8.0, therefore, being most likely never used by anyone other than ourselves on this very codebase.\r\n\r\nI'll be pushing fixes for the other 5.8.0 open issues.\r\n\r\nOnce we release 5.8.1, we should tag the release commit, and just merge that branch back to master with `--no-ff` ('though not delete it)."}}
{"actor":{"display_login":"jsotuyod"}}