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

JTabbedPane.remove(component) doesn't throw NPE

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: