{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/645","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/645/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/645/events","html_url":"https://github.com/gradle/gradle/pull/645","id":156139304,"number":645,"title":"Upgrade groovy to 2.4.6 to fix java 9 issues","user":{"login":"rjernst","id":289412,"avatar_url":"https://avatars.githubusercontent.com/u/289412?v=3","gravatar_id":"","url":"https://api.github.com/users/rjernst","html_url":"https://github.com/rjernst","followers_url":"https://api.github.com/users/rjernst/followers","following_url":"https://api.github.com/users/rjernst/following{/other_user}","gists_url":"https://api.github.com/users/rjernst/gists{/gist_id}","starred_url":"https://api.github.com/users/rjernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjernst/subscriptions","organizations_url":"https://api.github.com/users/rjernst/orgs","repos_url":"https://api.github.com/users/rjernst/repos","events_url":"https://api.github.com/users/rjernst/events{/privacy}","received_events_url":"https://api.github.com/users/rjernst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gradle/gradle/labels/cla-received","name":"cla-received","color":"207de5"},{"url":"https://api.github.com/repos/gradle/gradle/labels/core","name":"core","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gradle/gradle/milestones/2","html_url":"https://github.com/gradle/gradle/milestones/waiting-for-gradle-team","labels_url":"https://api.github.com/repos/gradle/gradle/milestones/2/labels","id":702038,"number":2,"title":"waiting-for-gradle-team","description":"","creator":{"login":"adammurdoch","id":99316,"avatar_url":"https://avatars.githubusercontent.com/u/99316?v=3","gravatar_id":"","url":"https://api.github.com/users/adammurdoch","html_url":"https://github.com/adammurdoch","followers_url":"https://api.github.com/users/adammurdoch/followers","following_url":"https://api.github.com/users/adammurdoch/following{/other_user}","gists_url":"https://api.github.com/users/adammurdoch/gists{/gist_id}","starred_url":"https://api.github.com/users/adammurdoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammurdoch/subscriptions","organizations_url":"https://api.github.com/users/adammurdoch/orgs","repos_url":"https://api.github.com/users/adammurdoch/repos","events_url":"https://api.github.com/users/adammurdoch/events{/privacy}","received_events_url":"https://api.github.com/users/adammurdoch/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":23,"state":"open","created_at":"2014-06-26T03:41:50Z","updated_at":"2016-05-24T13:29:47Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-05-22T07:21:25Z","updated_at":"2016-05-29T15:28:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gradle/gradle/pulls/645","html_url":"https://github.com/gradle/gradle/pull/645","diff_url":"https://github.com/gradle/gradle/pull/645.diff","patch_url":"https://github.com/gradle/gradle/pull/645.patch"},"body":"Groovy uses reflection heavily to determine which methods/members are\r\navailable for use. With the modularization of java 9, much of the jdk\r\nhas become fully inaccessible (where before it was discouraged to play\r\nwith). This commit updates to groovy 2.4.6, which works around bad code\r\nin groovy that is too aggressive in finding those accessible elements.\r\n\r\nSee https://issues.apache.org/jira/browse/GROOVY-7587\r\n\r\nAlso note, a similar error can be seen using gradle with the nebula\r\nospackage plugin. With gradle 2.13 and java 9 b119, a failure occurs like\r\nthis:\r\n\r\n```\r\nCaused by: java.lang.reflect.InaccessibleObjectException: Cannot make\r\na non-public member of class java.lang.reflect.AccessibleObject\r\naccessible\r\n```\r\n\r\nWith a locally built gradle using this commit and java 9 b119, the build\r\nis able to proceed."},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/222366439","html_url":"https://github.com/gradle/gradle/pull/645#issuecomment-222366439","issue_url":"https://api.github.com/repos/gradle/gradle/issues/645","id":222366439,"user":{"login":"melix","id":316357,"avatar_url":"https://avatars.githubusercontent.com/u/316357?v=3","gravatar_id":"","url":"https://api.github.com/users/melix","html_url":"https://github.com/melix","followers_url":"https://api.github.com/users/melix/followers","following_url":"https://api.github.com/users/melix/following{/other_user}","gists_url":"https://api.github.com/users/melix/gists{/gist_id}","starred_url":"https://api.github.com/users/melix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melix/subscriptions","organizations_url":"https://api.github.com/users/melix/orgs","repos_url":"https://api.github.com/users/melix/repos","events_url":"https://api.github.com/users/melix/events{/privacy}","received_events_url":"https://api.github.com/users/melix/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T15:28:14Z","updated_at":"2016-05-29T15:28:14Z","body":"Actually the use of `ClassValue` in 2.4.4 *is* a disaster and causes major memory leaks (see http://melix.github.io/blog/2015/08/permgenleak.html). Gradle implements special cleaning strategies to get rid of the leaks."}}
{"actor":{"display_login":"melix"}}