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

NPE in CompoundBorder.getInsets()

XMLWordPrintable

    • b102
    • generic
    • generic
    • Verified

        It is possible to get an NPE from CompoundBorder.getBorderInsets(). While it checks if inner and outer borders are non-null before calling their getBorderInsets() methods, there is no check that a non-null Insets object is returned.

              peterz Peter Zhelezniakov
              peterz Peter Zhelezniakov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: