{"action":"created","issue":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/1657","labels_url":"https://api.github.com/repos/scala-js/scala-js/issues/1657/labels{/name}","comments_url":"https://api.github.com/repos/scala-js/scala-js/issues/1657/comments","events_url":"https://api.github.com/repos/scala-js/scala-js/issues/1657/events","html_url":"https://github.com/scala-js/scala-js/pull/1657","id":76013025,"number":1657,"title":"Fix #1653: Implement java.lang.Class.cast().","user":{"login":"sjrd","id":535934,"avatar_url":"https://avatars.githubusercontent.com/u/535934?v=3","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-05-13T14:53:17Z","updated_at":"2015-05-21T21:12:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala-js/scala-js/pulls/1657","html_url":"https://github.com/scala-js/scala-js/pull/1657","diff_url":"https://github.com/scala-js/scala-js/pull/1657.diff","patch_url":"https://github.com/scala-js/scala-js/pull/1657.patch"},"body":"This brings two new fundamental mechanisms that were needed to implement this:\r\n\r\n* `java.lang.Class.data` has a flag `isRawJSType`\r\n* `scala.scalajs.runtime.Semantics` offers a method to throw exceptions conditionally to the `asInstanceOfs` checked behavior."},"comment":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/comments/104421826","html_url":"https://github.com/scala-js/scala-js/pull/1657#issuecomment-104421826","issue_url":"https://api.github.com/repos/scala-js/scala-js/issues/1657","id":104421826,"user":{"login":"scala-jenkins","id":1563693,"avatar_url":"https://avatars.githubusercontent.com/u/1563693?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-jenkins","html_url":"https://github.com/scala-jenkins","followers_url":"https://api.github.com/users/scala-jenkins/followers","following_url":"https://api.github.com/users/scala-jenkins/following{/other_user}","gists_url":"https://api.github.com/users/scala-jenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-jenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-jenkins/subscriptions","organizations_url":"https://api.github.com/users/scala-jenkins/orgs","repos_url":"https://api.github.com/users/scala-jenkins/repos","events_url":"https://api.github.com/users/scala-jenkins/events{/privacy}","received_events_url":"https://api.github.com/users/scala-jenkins/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T21:12:28Z","updated_at":"2015-05-21T21:12:28Z","body":"\nRefer to this link for build results (access rights to CI server needed): \n\n<a href='https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1721/'>https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1721/</a>\n<a href='https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2230/'>https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2230/</a>\nTest PASSed."}}