Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why doesn't null.asInstanceOf[Int] throw a NullPointerException? #5234

Closed
scabug opened this issue Nov 27, 2011 · 3 comments
Closed

why doesn't null.asInstanceOf[Int] throw a NullPointerException? #5234

scabug opened this issue Nov 27, 2011 · 3 comments

Comments

@scabug
Copy link

scabug commented Nov 27, 2011

http://stackoverflow.com/questions/8285916/why-doesnt-null-asinstanceofint-throw-a-nullpointerexception/8286007#8286007

@scabug
Copy link
Author

scabug commented Nov 27, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5234?orig=1
Reporter: Archer (ggd543)
See #4437

@scabug
Copy link
Author

scabug commented Nov 27, 2011

huynhjl said:
FYI, I did not see this bug, I created #5236 separately.

@scabug
Copy link
Author

scabug commented Nov 27, 2011

@paulp said:
You guys do look around a little before opening tickets, right? It is a huge time drag to have to close all the duplicates. (And I don't manage to close nearly all of them, which means it takes that much longer to find anything, because I have to sift through all the duplicates.) Duplicate of #4437.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants