A DESCRIPTION OF THE PROBLEM :
In the codebase, there are several occurrences of NullPointerExceptions being used as null checks. These slow down the implementation a bit and trip up some debuggers for people who are looking for genuine NPE bugs.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Navigate to JavaFX source code, search for all occurences of "catch (NullPointerException e)" in the code. All of these can be replaced by a better implementation and null checks
In the codebase, there are several occurrences of NullPointerExceptions being used as null checks. These slow down the implementation a bit and trip up some debuggers for people who are looking for genuine NPE bugs.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Navigate to JavaFX source code, search for all occurences of "catch (NullPointerException e)" in the code. All of these can be replaced by a better implementation and null checks
- links to
-
Review(master)
openjdk/jfx/2032