{"action":"created","issue":{"url":"https://api.github.com/repos/INRIA/spoon/issues/311","labels_url":"https://api.github.com/repos/INRIA/spoon/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/INRIA/spoon/issues/311/comments","events_url":"https://api.github.com/repos/INRIA/spoon/issues/311/events","html_url":"https://github.com/INRIA/spoon/pull/311","id":102872989,"number":311,"title":"updates the ecj version","user":{"login":"boeserwolf91","id":1949169,"avatar_url":"https://avatars.githubusercontent.com/u/1949169?v=3","gravatar_id":"","url":"https://api.github.com/users/boeserwolf91","html_url":"https://github.com/boeserwolf91","followers_url":"https://api.github.com/users/boeserwolf91/followers","following_url":"https://api.github.com/users/boeserwolf91/following{/other_user}","gists_url":"https://api.github.com/users/boeserwolf91/gists{/gist_id}","starred_url":"https://api.github.com/users/boeserwolf91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boeserwolf91/subscriptions","organizations_url":"https://api.github.com/users/boeserwolf91/orgs","repos_url":"https://api.github.com/users/boeserwolf91/repos","events_url":"https://api.github.com/users/boeserwolf91/events{/privacy}","received_events_url":"https://api.github.com/users/boeserwolf91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T19:29:43Z","updated_at":"2015-08-25T07:38:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/INRIA/spoon/pulls/311","html_url":"https://github.com/INRIA/spoon/pull/311","diff_url":"https://github.com/INRIA/spoon/pull/311.diff","patch_url":"https://github.com/INRIA/spoon/pull/311.patch"},"body":"the change fixes #308 \r\n\r\nThe problem was a type inference problem at [this point](https://github.com/CubeEngine/core/blob/sponge/coremodule/src/main/java/org/cubeengine/service/user/SpongeUserManager.java#L436)\r\n\r\nThe ecj compiler had problems with the reference ```Record1::value1```. The debugger showed this warning:\r\n\r\n``` \r\nFilename : D:\\Programmieren\\CubeEngine\\core\\coremodule\\src\\main\\java\\org\\cubeengine\\service\\user\\SpongeUserManager.java\r\nCOMPILED type(s)    \r\n2 PROBLEM(s) detected \r\n     - Pb(201) Cannot make a static reference to the non-static method value1(Object) from the type Record1\r\n     - Pb(19) Type mismatch: cannot convert from Set<Object> to Set<UInteger>\r\n```\r\n\r\nchanging the line to\r\n```java\r\nreturn database.getDSL().select(TABLE_USER.KEY).from(TABLE_USER).fetch().stream().map(Record1<UInteger>::value1).collect(toSet());\r\n```\r\n(note the ```Record<UInteger>```) fixes the problem with the currently released spoon version. But the issue is fixed with the newest ecj release, therefore I simply increased the version number.\r\nIt's just a patch version change, therefore it should be a safe update. All tests are still working. "},"comment":{"url":"https://api.github.com/repos/INRIA/spoon/issues/comments/134511498","html_url":"https://github.com/INRIA/spoon/pull/311#issuecomment-134511498","issue_url":"https://api.github.com/repos/INRIA/spoon/issues/311","id":134511498,"user":{"login":"GerardPaligot","id":1913901,"avatar_url":"https://avatars.githubusercontent.com/u/1913901?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardPaligot","html_url":"https://github.com/GerardPaligot","followers_url":"https://api.github.com/users/GerardPaligot/followers","following_url":"https://api.github.com/users/GerardPaligot/following{/other_user}","gists_url":"https://api.github.com/users/GerardPaligot/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardPaligot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardPaligot/subscriptions","organizations_url":"https://api.github.com/users/GerardPaligot/orgs","repos_url":"https://api.github.com/users/GerardPaligot/repos","events_url":"https://api.github.com/users/GerardPaligot/events{/privacy}","received_events_url":"https://api.github.com/users/GerardPaligot/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T07:38:20Z","updated_at":"2015-08-25T07:38:20Z","body":"There are some rules in this project:\r\nRule number 1: There is no bug in Spoon!\r\nRule number 2: If you think you find a bug, it is certainly in JDT!\r\nRule number 2: If you think you find a bug in Spoon, it's a feature!\r\n\r\nMore seriously, good news that JDT fix this bug in a new lower version. I'm okay with this PR.\r\n\r\n> PS: trying the new branch convention from #203 would be awesome :+1:\r\n\r\n+1"}}