News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about null pointers by wging on Saturday February 01, 2025 @12:27AM (#42895919)
If you're actually paying a significant cost generating stack traces for NPEs, there's a JVM option to deal with that (-XX:-OmitStackTraceInFastThrow). It still generates a stack trace the first time; if you're able to go search for that first one it shouldn't be a problem for debugging.

There are no comments on this comment yet.