-
Bug
-
Resolution: Fixed
-
P2
-
9
regression : This issue is regression of 8055197 fix
http://hg.openjdk.java.net/jdk9/client/jdk/rev/a78263581ce6
TextField constructor & setText throws Null pointer exception.
Below lines of code will throw the NPE,
TextField text = new TextField (null);
text.setText(null);
Exception:
Exception in thread "main" java.lang.NullPointerException
at java.awt.TextField.replaceEOL(TextField.java:314)
at java.awt.TextField.<init>(TextField.java:201)
at java.awt.TextField.<init>(TextField.java:167)
http://hg.openjdk.java.net/jdk9/client/jdk/rev/a78263581ce6
TextField constructor & setText throws Null pointer exception.
Below lines of code will throw the NPE,
TextField text = new TextField (null);
text.setText(null);
Exception:
Exception in thread "main" java.lang.NullPointerException
at java.awt.TextField.replaceEOL(TextField.java:314)
at java.awt.TextField.<init>(TextField.java:201)
at java.awt.TextField.<init>(TextField.java:167)
- relates to
-
JDK-8055197 TextField deletes multiline strings
-
- Resolved
-