Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b100
    • CPU:
      generic
    • OS:
      generic

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arapte Ambarish Rapte
                Reporter:
                arapte Ambarish Rapte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: