{"action":"created","issue":{"url":"https://api.github.com/repos/stefan-zobel/streamsupport/issues/2","repository_url":"https://api.github.com/repos/stefan-zobel/streamsupport","labels_url":"https://api.github.com/repos/stefan-zobel/streamsupport/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/stefan-zobel/streamsupport/issues/2/comments","events_url":"https://api.github.com/repos/stefan-zobel/streamsupport/issues/2/events","html_url":"https://github.com/stefan-zobel/streamsupport/issues/2","id":315166043,"number":2,"title":"Some use of reflection will not work anymore in Android P","user":{"login":"netomi","id":1048055,"avatar_url":"https://avatars1.githubusercontent.com/u/1048055?v=4","gravatar_id":"","url":"https://api.github.com/users/netomi","html_url":"https://github.com/netomi","followers_url":"https://api.github.com/users/netomi/followers","following_url":"https://api.github.com/users/netomi/following{/other_user}","gists_url":"https://api.github.com/users/netomi/gists{/gist_id}","starred_url":"https://api.github.com/users/netomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netomi/subscriptions","organizations_url":"https://api.github.com/users/netomi/orgs","repos_url":"https://api.github.com/users/netomi/repos","events_url":"https://api.github.com/users/netomi/events{/privacy}","received_events_url":"https://api.github.com/users/netomi/received_events","type":"User","site_admin":false},"labels":[{"id":855550534,"url":"https://api.github.com/repos/stefan-zobel/streamsupport/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"stefan-zobel","id":18482851,"avatar_url":"https://avatars1.githubusercontent.com/u/18482851?v=4","gravatar_id":"","url":"https://api.github.com/users/stefan-zobel","html_url":"https://github.com/stefan-zobel","followers_url":"https://api.github.com/users/stefan-zobel/followers","following_url":"https://api.github.com/users/stefan-zobel/following{/other_user}","gists_url":"https://api.github.com/users/stefan-zobel/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-zobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-zobel/subscriptions","organizations_url":"https://api.github.com/users/stefan-zobel/orgs","repos_url":"https://api.github.com/users/stefan-zobel/repos","events_url":"https://api.github.com/users/stefan-zobel/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-zobel/received_events","type":"User","site_admin":false},"assignees":[{"login":"stefan-zobel","id":18482851,"avatar_url":"https://avatars1.githubusercontent.com/u/18482851?v=4","gravatar_id":"","url":"https://api.github.com/users/stefan-zobel","html_url":"https://github.com/stefan-zobel","followers_url":"https://api.github.com/users/stefan-zobel/followers","following_url":"https://api.github.com/users/stefan-zobel/following{/other_user}","gists_url":"https://api.github.com/users/stefan-zobel/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-zobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-zobel/subscriptions","organizations_url":"https://api.github.com/users/stefan-zobel/orgs","repos_url":"https://api.github.com/users/stefan-zobel/repos","events_url":"https://api.github.com/users/stefan-zobel/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-zobel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2018-04-17T17:51:08Z","updated_at":"2018-04-20T10:31:47Z","closed_at":null,"author_association":"NONE","body":"Android P reports various warnings when using the streamsupport library:\r\n\r\nzygote  : Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (light greylist, reflection)\r\nzygote  : Accessing hidden field Ljava/lang/Integer;->value:I (light greylist, reflection)\r\nzygote  : Accessing hidden field Ljava/lang/Thread;->contextClassLoader:Ljava/lang/ClassLoader; (dark greylist, reflection)\r\nzygote  : Accessing hidden field Ljava/util/concurrent/atomic/AtomicInteger;->value:I (dark greylist, reflection)\r\n\r\nThe problematic classes are TLRandom which accesses the contextClassLoader and Striped64 which accesses a private field in the AtomicInteger class. There might be other classes as well as our test cases do not cover everything of the streamsupport library.\r\n\r\nBasically, warnings wrt light greylist are merely a warning for now, but might be restricted in later versions. Warnings wrt dark greylist will most likely be restricted in Android P and will not work anymore.\r\n\r\nSee also https://developer.android.com/preview/restrictions-non-sdk-interfaces.html for a more detailed explanation."},"comment":{"url":"https://api.github.com/repos/stefan-zobel/streamsupport/issues/comments/383056005","html_url":"https://github.com/stefan-zobel/streamsupport/issues/2#issuecomment-383056005","issue_url":"https://api.github.com/repos/stefan-zobel/streamsupport/issues/2","id":383056005,"user":{"login":"stefan-zobel","id":18482851,"avatar_url":"https://avatars1.githubusercontent.com/u/18482851?v=4","gravatar_id":"","url":"https://api.github.com/users/stefan-zobel","html_url":"https://github.com/stefan-zobel","followers_url":"https://api.github.com/users/stefan-zobel/followers","following_url":"https://api.github.com/users/stefan-zobel/following{/other_user}","gists_url":"https://api.github.com/users/stefan-zobel/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-zobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-zobel/subscriptions","organizations_url":"https://api.github.com/users/stefan-zobel/orgs","repos_url":"https://api.github.com/users/stefan-zobel/repos","events_url":"https://api.github.com/users/stefan-zobel/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-zobel/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T10:31:47Z","updated_at":"2018-04-20T10:31:47Z","author_association":"OWNER","body":"Hi Thomas,\r\n\r\nthanks for the confirmation.\r\n\r\nThe streamsupport test suite is quite comprehensive. In the first week of May i'll have the time and resources for a complete run on all platforms.\r\nI'll approach the Integer.value issue subsequently. For `Unsafe` I can't do anything without kicking the whole parallelism out of the library.\r\n\r\nOther than that we have to wait for any further restrictions Google may come up with in the follwowing previews.\r\n\r\nRegards,\r\nStefan\r\n"}}
{"actor":{"display_login":"stefan-zobel"}}