{"action":"created","issue":{"url":"https://api.github.com/repos/jacoco/jacoco/issues/629","repository_url":"https://api.github.com/repos/jacoco/jacoco","labels_url":"https://api.github.com/repos/jacoco/jacoco/issues/629/labels{/name}","comments_url":"https://api.github.com/repos/jacoco/jacoco/issues/629/comments","events_url":"https://api.github.com/repos/jacoco/jacoco/issues/629/events","html_url":"https://github.com/jacoco/jacoco/pull/629","id":280658260,"number":629,"title":"Support JDK 10","user":{"login":"Godin","id":138671,"avatar_url":"https://avatars3.githubusercontent.com/u/138671?v=4","gravatar_id":"","url":"https://api.github.com/users/Godin","html_url":"https://github.com/Godin","followers_url":"https://api.github.com/users/Godin/followers","following_url":"https://api.github.com/users/Godin/following{/other_user}","gists_url":"https://api.github.com/users/Godin/gists{/gist_id}","starred_url":"https://api.github.com/users/Godin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godin/subscriptions","organizations_url":"https://api.github.com/users/Godin/orgs","repos_url":"https://api.github.com/users/Godin/repos","events_url":"https://api.github.com/users/Godin/events{/privacy}","received_events_url":"https://api.github.com/users/Godin/received_events","type":"User","site_admin":false},"labels":[{"id":41095899,"url":"https://api.github.com/repos/jacoco/jacoco/labels/component:%20core","name":"component: core","color":"0052cc","default":false},{"id":8776791,"url":"https://api.github.com/repos/jacoco/jacoco/labels/type:%20enhancement","name":"type: enhancement","color":"ff9933","default":false}],"state":"closed","locked":false,"assignee":{"login":"Godin","id":138671,"avatar_url":"https://avatars3.githubusercontent.com/u/138671?v=4","gravatar_id":"","url":"https://api.github.com/users/Godin","html_url":"https://github.com/Godin","followers_url":"https://api.github.com/users/Godin/followers","following_url":"https://api.github.com/users/Godin/following{/other_user}","gists_url":"https://api.github.com/users/Godin/gists{/gist_id}","starred_url":"https://api.github.com/users/Godin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godin/subscriptions","organizations_url":"https://api.github.com/users/Godin/orgs","repos_url":"https://api.github.com/users/Godin/repos","events_url":"https://api.github.com/users/Godin/events{/privacy}","received_events_url":"https://api.github.com/users/Godin/received_events","type":"User","site_admin":false},"assignees":[{"login":"Godin","id":138671,"avatar_url":"https://avatars3.githubusercontent.com/u/138671?v=4","gravatar_id":"","url":"https://api.github.com/users/Godin","html_url":"https://github.com/Godin","followers_url":"https://api.github.com/users/Godin/followers","following_url":"https://api.github.com/users/Godin/following{/other_user}","gists_url":"https://api.github.com/users/Godin/gists{/gist_id}","starred_url":"https://api.github.com/users/Godin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godin/subscriptions","organizations_url":"https://api.github.com/users/Godin/orgs","repos_url":"https://api.github.com/users/Godin/repos","events_url":"https://api.github.com/users/Godin/events{/privacy}","received_events_url":"https://api.github.com/users/Godin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/jacoco/jacoco/milestones/25","html_url":"https://github.com/jacoco/jacoco/milestone/25","labels_url":"https://api.github.com/repos/jacoco/jacoco/milestones/25/labels","id":3013703,"number":25,"title":"0.8.1","description":"","creator":{"login":"Godin","id":138671,"avatar_url":"https://avatars3.githubusercontent.com/u/138671?v=4","gravatar_id":"","url":"https://api.github.com/users/Godin","html_url":"https://github.com/Godin","followers_url":"https://api.github.com/users/Godin/followers","following_url":"https://api.github.com/users/Godin/following{/other_user}","gists_url":"https://api.github.com/users/Godin/gists{/gist_id}","starred_url":"https://api.github.com/users/Godin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godin/subscriptions","organizations_url":"https://api.github.com/users/Godin/orgs","repos_url":"https://api.github.com/users/Godin/repos","events_url":"https://api.github.com/users/Godin/events{/privacy}","received_events_url":"https://api.github.com/users/Godin/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":7,"state":"open","created_at":"2018-01-04T20:09:15Z","updated_at":"2018-03-21T04:23:26Z","due_on":null,"closed_at":null},"comments":21,"created_at":"2017-12-09T00:43:38Z","updated_at":"2018-03-21T08:10:12Z","closed_at":"2018-03-21T04:23:26Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/jacoco/jacoco/pulls/629","html_url":"https://github.com/jacoco/jacoco/pull/629","diff_url":"https://github.com/jacoco/jacoco/pull/629.diff","patch_url":"https://github.com/jacoco/jacoco/pull/629.patch"},"body":"Classes of JDK 10 EA b35 use new classfile version number ( https://bugs.openjdk.java.net/browse/JDK-8188870 ) and so JaCoCo Agent 0.7.9 as well as agent from current build of master branch fail to start:\r\n```\r\n$ java -version\r\njava version \"10-ea\"\r\nJava(TM) SE Runtime Environment (build 10-ea+35)\r\nJava HotSpot(TM) 64-Bit Server VM (build 10-ea+35, mixed mode)\r\n\r\n$ java -javaagent:jacoco-0.7.9/lib/jacocoagent.jar     \r\nException in thread \"main\" java.lang.reflect.InvocationTargetException\r\n        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.base/java.lang.reflect.Method.invoke(Method.java:564)\r\n        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:510)\r\n        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:522)\r\nCaused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.\r\n        at org.jacoco.agent.rt.internal_8ff85ea.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)\r\n        at org.jacoco.agent.rt.internal_8ff85ea.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)\r\n        at org.jacoco.agent.rt.internal_8ff85ea.PreMain.createRuntime(PreMain.java:55)\r\n        at org.jacoco.agent.rt.internal_8ff85ea.PreMain.premain(PreMain.java:47)\r\n        ... 6 more\r\nCaused by: java.lang.NoSuchFieldException: $jacocoAccess\r\n        at java.base/java.lang.Class.getField(Class.java:1958)\r\n        at org.jacoco.agent.rt.internal_8ff85ea.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)\r\n        ... 9 more\r\nFATAL ERROR in native method: processing of -javaagent failed\r\n```\r\n\r\nSo to support JDK 10 we'll need to do similar workarounds that were done for JDK 9 in #406 and removed in #600 or wait for ASM release containing https://gitlab.ow2.org/asm/asm/merge_requests/74\r\n"},"comment":{"url":"https://api.github.com/repos/jacoco/jacoco/issues/comments/374859986","html_url":"https://github.com/jacoco/jacoco/pull/629#issuecomment-374859986","issue_url":"https://api.github.com/repos/jacoco/jacoco/issues/629","id":374859986,"user":{"login":"olamy","id":19728,"avatar_url":"https://avatars2.githubusercontent.com/u/19728?v=4","gravatar_id":"","url":"https://api.github.com/users/olamy","html_url":"https://github.com/olamy","followers_url":"https://api.github.com/users/olamy/followers","following_url":"https://api.github.com/users/olamy/following{/other_user}","gists_url":"https://api.github.com/users/olamy/gists{/gist_id}","starred_url":"https://api.github.com/users/olamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olamy/subscriptions","organizations_url":"https://api.github.com/users/olamy/orgs","repos_url":"https://api.github.com/users/olamy/repos","events_url":"https://api.github.com/users/olamy/events{/privacy}","received_events_url":"https://api.github.com/users/olamy/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T08:10:12Z","updated_at":"2018-03-21T08:10:12Z","author_association":"NONE","body":"thanks guys for your hard work I just tested a build and everything works fine!!\r\nThanks again!!"}}
{"actor":{"display_login":"olamy"}}