News for hackers. Stuff that matters.
Re:Add detailed message to NullPointerException describing w... by needusername on Tuesday March 26, 2019 @04:31PM (#19495743)
Well there is an JVM optimization (OmitStackTraceInFastThrow, which is on by default) which optimizes "built in" exceptions that are thrown frequently enough to be cached and have to stack trace. So somebody at one point thought that was a worthwhile optimization and allocated engineering resources to it.

https://www.oracle.com/technetwork/java/javase/relnotes-1391...

There are no comments on this comment yet.