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

NPE in CompoundBorder.getInsets()

    Details

    • Subcomponent:
    • Resolved In Build:
      b102
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  peterz Peter Zhelezniakov (Inactive)
                  Reporter:
                  peterz Peter Zhelezniakov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: