Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4647115

JTabbedPane.remove(component) doesn't throw NPE

XMLWordPrintable

    • tiger
    • generic
    • generic

      JTabbedPane.remove(Component component) should throw NullPointerException if component is "null". But what's happening right now is that, no exception is thrown.
      Attached is the test case which reveals the bug.

            moasunw Moa Moa (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: