{"action":"created","issue":{"url":"https://api.github.com/repos/scala/scala/issues/4692","labels_url":"https://api.github.com/repos/scala/scala/issues/4692/labels{/name}","comments_url":"https://api.github.com/repos/scala/scala/issues/4692/comments","events_url":"https://api.github.com/repos/scala/scala/issues/4692/events","html_url":"https://github.com/scala/scala/pull/4692","id":101658630,"number":4692,"title":"SI-6636 Fix macro expansion in toolboxes","user":{"login":"JanBessai","id":1640797,"avatar_url":"https://avatars.githubusercontent.com/u/1640797?v=3","gravatar_id":"","url":"https://api.github.com/users/JanBessai","html_url":"https://github.com/JanBessai","followers_url":"https://api.github.com/users/JanBessai/followers","following_url":"https://api.github.com/users/JanBessai/following{/other_user}","gists_url":"https://api.github.com/users/JanBessai/gists{/gist_id}","starred_url":"https://api.github.com/users/JanBessai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanBessai/subscriptions","organizations_url":"https://api.github.com/users/JanBessai/orgs","repos_url":"https://api.github.com/users/JanBessai/repos","events_url":"https://api.github.com/users/JanBessai/events{/privacy}","received_events_url":"https://api.github.com/users/JanBessai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scala/scala/milestones/49","html_url":"https://github.com/scala/scala/milestones/2.11.8","labels_url":"https://api.github.com/repos/scala/scala/milestones/49/labels","id":1169165,"number":49,"title":"2.11.8","description":"Merge to 2.11.x.\r\n","creator":{"login":"SethTisue","id":161079,"avatar_url":"https://avatars.githubusercontent.com/u/161079?v=3","gravatar_id":"","url":"https://api.github.com/users/SethTisue","html_url":"https://github.com/SethTisue","followers_url":"https://api.github.com/users/SethTisue/followers","following_url":"https://api.github.com/users/SethTisue/following{/other_user}","gists_url":"https://api.github.com/users/SethTisue/gists{/gist_id}","starred_url":"https://api.github.com/users/SethTisue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethTisue/subscriptions","organizations_url":"https://api.github.com/users/SethTisue/orgs","repos_url":"https://api.github.com/users/SethTisue/repos","events_url":"https://api.github.com/users/SethTisue/events{/privacy}","received_events_url":"https://api.github.com/users/SethTisue/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":63,"state":"open","created_at":"2015-06-17T19:08:28Z","updated_at":"2015-08-18T19:17:29Z","due_on":"2015-09-21T07:00:00Z","closed_at":null},"comments":2,"created_at":"2015-08-18T13:44:59Z","updated_at":"2015-08-18T20:34:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/4692","html_url":"https://github.com/scala/scala/pull/4692","diff_url":"https://github.com/scala/scala/pull/4692.diff","patch_url":"https://github.com/scala/scala/pull/4692.patch"},"body":"Macro expansion is now based on a configurable parent class loader instead of the fixed default one. Custom expansion class paths are still respected, because `findMacroLcassLoader` will create a fresh `ScalaClassLoader`.\r\n\r\n`ReflectGlobal` uses the above mechanism to provide macro expansion with its rootClassLoader. This way its macro expansion is consistent with the user specified class loading facilities and `ToolBox` can expand runtime defined macros.\r\n\r\nA test is included. The default behaviour of everything except `ReflectGlobal` remains the same (i.e. using the default class loader).\r\n"},"comment":{"url":"https://api.github.com/repos/scala/scala/issues/comments/132342620","html_url":"https://github.com/scala/scala/pull/4692#issuecomment-132342620","issue_url":"https://api.github.com/repos/scala/scala/issues/4692","id":132342620,"user":{"login":"xeno-by","id":609152,"avatar_url":"https://avatars.githubusercontent.com/u/609152?v=3","gravatar_id":"","url":"https://api.github.com/users/xeno-by","html_url":"https://github.com/xeno-by","followers_url":"https://api.github.com/users/xeno-by/followers","following_url":"https://api.github.com/users/xeno-by/following{/other_user}","gists_url":"https://api.github.com/users/xeno-by/gists{/gist_id}","starred_url":"https://api.github.com/users/xeno-by/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeno-by/subscriptions","organizations_url":"https://api.github.com/users/xeno-by/orgs","repos_url":"https://api.github.com/users/xeno-by/repos","events_url":"https://api.github.com/users/xeno-by/events{/privacy}","received_events_url":"https://api.github.com/users/xeno-by/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T20:34:41Z","updated_at":"2015-08-18T20:34:41Z","body":"/rebuild"}}