{"action":"created","issue":{"url":"https://api.github.com/repos/scala/scala/issues/5153","repository_url":"https://api.github.com/repos/scala/scala","labels_url":"https://api.github.com/repos/scala/scala/issues/5153/labels{/name}","comments_url":"https://api.github.com/repos/scala/scala/issues/5153/comments","events_url":"https://api.github.com/repos/scala/scala/issues/5153/events","html_url":"https://github.com/scala/scala/pull/5153","id":153956800,"number":5153,"title":"SI-5463 Check .jars before using them","user":{"login":"petermz","id":16533006,"avatar_url":"https://avatars.githubusercontent.com/u/16533006?v=3","gravatar_id":"","url":"https://api.github.com/users/petermz","html_url":"https://github.com/petermz","followers_url":"https://api.github.com/users/petermz/followers","following_url":"https://api.github.com/users/petermz/following{/other_user}","gists_url":"https://api.github.com/users/petermz/gists{/gist_id}","starred_url":"https://api.github.com/users/petermz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermz/subscriptions","organizations_url":"https://api.github.com/users/petermz/orgs","repos_url":"https://api.github.com/users/petermz/repos","events_url":"https://api.github.com/users/petermz/events{/privacy}","received_events_url":"https://api.github.com/users/petermz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scala/scala/milestones/52","html_url":"https://github.com/scala/scala/milestones/2.12.0-M5","labels_url":"https://api.github.com/repos/scala/scala/milestones/52/labels","id":1355301,"number":52,"title":"2.12.0-M5","description":"Merge to 2.12.x. \r\n\r\nLead: @lrytz\r\n\r\nIn order to meet our deadline, we will only accept new PRs that fix an issue scheduled for M5 over at https://github.com/scala/scala-dev/milestones/2.12.0-M5 (no longer accepting new issues as of May 2). \r\n\r\nNOTE: We always accept more tests/docs -- this restriction aims to avoid PRs that change functionality or may otherwise cause regressions and release date slips.\r\n\r\nLukas informed scala-internals about this on April 22nd. For urgent/critical issues, exceptions will be considered after discussion on scala-internals.\r\n\r\nThe deadline currently stands at June 3rd (originally it was one week earlier). We're working hard to beat this date, and will cut the release as soon as we've made our way through the PR queue.","creator":{"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},"open_issues":41,"closed_issues":44,"state":"open","created_at":"2015-10-14T13:06:29Z","updated_at":"2016-05-10T09:01:02Z","due_on":"2016-06-03T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-05-10T09:00:59Z","updated_at":"2016-05-10T19:19:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/5153","html_url":"https://github.com/scala/scala/pull/5153","diff_url":"https://github.com/scala/scala/pull/5153.diff","patch_url":"https://github.com/scala/scala/pull/5153.patch"},"body":"This patch makes compiler ignore broken JAR files on classpath, the same way nonexistent JARs are ignored. When an exception occurs while processing a JAR, we treat it as containing no packages and no classes."},"comment":{"url":"https://api.github.com/repos/scala/scala/issues/comments/218262135","html_url":"https://github.com/scala/scala/pull/5153#issuecomment-218262135","issue_url":"https://api.github.com/repos/scala/scala/issues/5153","id":218262135,"user":{"login":"lrytz","id":119636,"avatar_url":"https://avatars.githubusercontent.com/u/119636?v=3","gravatar_id":"","url":"https://api.github.com/users/lrytz","html_url":"https://github.com/lrytz","followers_url":"https://api.github.com/users/lrytz/followers","following_url":"https://api.github.com/users/lrytz/following{/other_user}","gists_url":"https://api.github.com/users/lrytz/gists{/gist_id}","starred_url":"https://api.github.com/users/lrytz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrytz/subscriptions","organizations_url":"https://api.github.com/users/lrytz/orgs","repos_url":"https://api.github.com/users/lrytz/repos","events_url":"https://api.github.com/users/lrytz/events{/privacy}","received_events_url":"https://api.github.com/users/lrytz/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T19:19:54Z","updated_at":"2016-05-10T19:19:54Z","body":"I agree with @janekdb, I think there should be a fatal error when a broken jar is on the classpath. Currently the error message for an invalid `A.jar` looks like this:\r\n\r\n```\r\nerror: error while loading <root>, Error accessing A.jar\r\nerror: scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.\r\n\tat scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17)\r\n\tat scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18)\r\n\tat scala.reflect.internal.Mirrors$RootsBase.scala$reflect$internal$Mirrors$RootsBase$$$anonfun$4(Mirrors.scala:54)\r\n```"}}