-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b15
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289728 | 17.0.5-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8290944 | 17.0.5 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8289749 | 11.0.17-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8290949 | 11.0.17 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8289881 | 8u351 | Dukebot | P4 | Resolved | Fixed | b01 |
Issue tested:
When calling JEditorPane.setText(null), the following exception is thrown:
java.lang.NullPointerException:
at java.io.StringReader.<init>(StringReader.java:38)
Testing:
Java 1.4.0 -> Test Failed.
$ ./j2sdk1.4.0/bin/java bug4330998Win
java.lang.RuntimeException: Test failed, caught Exception java.lang.NullPointerException when calling text.setText(null)
at bug4330998Win.runTest(bug4330998Win.java:45)
at bug4330998Win.main(bug4330998Win.java:51)
Exception in thread "main"
Java 1.4.1 -> Test Passed.
$ ./j2sdk1.4.1/bin/java bug4330998Win
Test passed
- backported by
-
JDK-8289728 Create a regression test for JDK-4330998
- Resolved
-
JDK-8289749 Create a regression test for JDK-4330998
- Resolved
-
JDK-8289881 Create a regression test for JDK-4330998
- Resolved
-
JDK-8290944 Create a regression test for JDK-4330998
- Resolved
-
JDK-8290949 Create a regression test for JDK-4330998
- Resolved
- relates to
-
JDK-4330998 JTextComponent.setText(null) throws NullPointerException.
- Closed
- links to
-
Commit openjdk/jdk11u-dev/f53f3e60
-
Commit openjdk/jdk17u-dev/3258b672
-
Commit openjdk/jdk/b451273d
-
Review openjdk/jdk11u-dev/1262
-
Review openjdk/jdk17u-dev/588
-
Review openjdk/jdk/7740