{"action":"created","issue":{"url":"https://api.github.com/repos/offbynull/coroutines/issues/77","repository_url":"https://api.github.com/repos/offbynull/coroutines","labels_url":"https://api.github.com/repos/offbynull/coroutines/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/offbynull/coroutines/issues/77/comments","events_url":"https://api.github.com/repos/offbynull/coroutines/issues/77/events","html_url":"https://github.com/offbynull/coroutines/issues/77","id":211878429,"number":77,"title":"BUG: Caller not instrumented with javaagent","user":{"login":"dwing4g","id":5528514,"avatar_url":"https://avatars3.githubusercontent.com/u/5528514?v=3","gravatar_id":"","url":"https://api.github.com/users/dwing4g","html_url":"https://github.com/dwing4g","followers_url":"https://api.github.com/users/dwing4g/followers","following_url":"https://api.github.com/users/dwing4g/following{/other_user}","gists_url":"https://api.github.com/users/dwing4g/gists{/gist_id}","starred_url":"https://api.github.com/users/dwing4g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwing4g/subscriptions","organizations_url":"https://api.github.com/users/dwing4g/orgs","repos_url":"https://api.github.com/users/dwing4g/repos","events_url":"https://api.github.com/users/dwing4g/events{/privacy}","received_events_url":"https://api.github.com/users/dwing4g/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-04T13:02:15Z","updated_at":"2017-03-04T13:47:55Z","closed_at":null,"body":"public final class TestFiber2 {\r\n    public static final class TestFiber3 implements Coroutine     {\r\n        @Override\r\n        public void run(Continuation c) throws Exception {\r\n            c.suspend();\r\n        }\r\n    }\r\n    private static final java.util.ArrayDeque<CoroutineRunner> _readyQueue = new java.util.ArrayDeque<>();\r\n    public static void submit(Coroutine c) {\r\n        _readyQueue.offer(new CoroutineRunner(c));\r\n    }\r\n    public static void main(String[] args) {\r\n        TestFiber3 f = new TestFiber3();\r\n        submit(c -> {\r\n            submit(f);\r\n            c.suspend();\r\n        });\r\n        while(!_readyQueue.isEmpty())\r\n            _readyQueue.poll().execute();\r\n    }\r\n}\r\n\r\njava -javaagent:java-agent-1.2.2-shaded.jar -cp user-1.2.2.jar;. TestFiber2\r\n\r\nException in thread \"main\" com.offbynull.coroutines.user.CoroutineException: Exception thrown during execution\r\n        at com.offbynull.coroutines.user.CoroutineRunner.execute(CoroutineRunner.java:60)\r\n        at TestFiber2.main(TestFiber2.java)\r\nCaused by: java.lang.UnsupportedOperationException: Caller not instrumented\r\n        at com.offbynull.coroutines.user.Continuation.suspend(Continuation.java:256)\r\n        at TestFiber2$TestFiber3.run(TestFiber2.java)\r\n        at com.offbynull.coroutines.user.CoroutineRunner.execute(CoroutineRunner.java:56)\r\n        ... 1 more"},"comment":{"url":"https://api.github.com/repos/offbynull/coroutines/issues/comments/284152458","html_url":"https://github.com/offbynull/coroutines/issues/77#issuecomment-284152458","issue_url":"https://api.github.com/repos/offbynull/coroutines/issues/77","id":284152458,"user":{"login":"offbynull","id":6354978,"avatar_url":"https://avatars3.githubusercontent.com/u/6354978?v=3","gravatar_id":"","url":"https://api.github.com/users/offbynull","html_url":"https://github.com/offbynull","followers_url":"https://api.github.com/users/offbynull/followers","following_url":"https://api.github.com/users/offbynull/following{/other_user}","gists_url":"https://api.github.com/users/offbynull/gists{/gist_id}","starred_url":"https://api.github.com/users/offbynull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offbynull/subscriptions","organizations_url":"https://api.github.com/users/offbynull/orgs","repos_url":"https://api.github.com/users/offbynull/repos","events_url":"https://api.github.com/users/offbynull/events{/privacy}","received_events_url":"https://api.github.com/users/offbynull/received_events","type":"User","site_admin":false},"created_at":"2017-03-04T13:47:55Z","updated_at":"2017-03-04T13:47:55Z","body":"I'll look at this shortly."}}
{"actor":{"display_login":"offbynull"}}