{"action":"created","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/44","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/44/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/44/events","html_url":"https://github.com/lampepfl/dotty/issues/44","id":28754421,"number":44,"title":"Keep classpath used to run the compiler separate from compilation classpath.","user":{"login":"adriaanm","id":91083,"avatar_url":"https://avatars.githubusercontent.com/u/91083?v=3","gravatar_id":"","url":"https://api.github.com/users/adriaanm","html_url":"https://github.com/adriaanm","followers_url":"https://api.github.com/users/adriaanm/followers","following_url":"https://api.github.com/users/adriaanm/following{/other_user}","gists_url":"https://api.github.com/users/adriaanm/gists{/gist_id}","starred_url":"https://api.github.com/users/adriaanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriaanm/subscriptions","organizations_url":"https://api.github.com/users/adriaanm/orgs","repos_url":"https://api.github.com/users/adriaanm/repos","events_url":"https://api.github.com/users/adriaanm/events{/privacy}","received_events_url":"https://api.github.com/users/adriaanm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lampepfl/dotty/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-03-05T00:18:35Z","updated_at":"2015-11-18T21:40:41Z","closed_at":null,"body":"A program should not be able to see the classes of the compiler that's compiling it unless the compiler's classes are explicitly added to the compilation (user) classpath. Currently, they all leak through by default (you have one chance to opt-out by not setting usejavacp): https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/config/PathResolver.scala#L227\r\n\r\nThis is not a problem in sbt (it manages the classpath itself), and you might consider it a feature in the REPL, but it's pretty complicated for build tools to navigate the maze of settings. Would be good to clean this up early on."},"comment":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/comments/157873646","html_url":"https://github.com/lampepfl/dotty/issues/44#issuecomment-157873646","issue_url":"https://api.github.com/repos/lampepfl/dotty/issues/44","id":157873646,"user":{"login":"adriaanm","id":91083,"avatar_url":"https://avatars.githubusercontent.com/u/91083?v=3","gravatar_id":"","url":"https://api.github.com/users/adriaanm","html_url":"https://github.com/adriaanm","followers_url":"https://api.github.com/users/adriaanm/followers","following_url":"https://api.github.com/users/adriaanm/following{/other_user}","gists_url":"https://api.github.com/users/adriaanm/gists{/gist_id}","starred_url":"https://api.github.com/users/adriaanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriaanm/subscriptions","organizations_url":"https://api.github.com/users/adriaanm/orgs","repos_url":"https://api.github.com/users/adriaanm/repos","events_url":"https://api.github.com/users/adriaanm/events{/privacy}","received_events_url":"https://api.github.com/users/adriaanm/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:40:41Z","updated_at":"2015-11-18T21:40:41Z","body":"No, but we were just talking about tackling this in 2.13 earlier this week!"}}