6875716: JLayer.remove((Component)null) should behave consistently in (not) throwing NPE
Reviewed-by: rupashka
^build/
^dist/
^nbproject/private/
^src/share/tools/hsdis/build/
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/
^src/share/tools/IdealGraphVisualizer/dist/