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

ArrayIndexOutOfBoundsException in javax.swing.text.html.parser.ContentModel.first()

    XMLWordPrintable

Details

    Backports

      Description

        javax.swing.text.html.parser.ContentModel.first(Element) throws ArrayIndexOutOfBoundsException where this method is called with an unknown jx.s.t.html.parser.Element.

        Steps to reproduce:

        1. Create instance of ContentModel with type '&'.
        2. Call its first(Element) method with any Element.
        3. Call first(Element) method with a new Element instance. It results in ArrayIndexOutOfBoundsException.

        Attachments

          Issue Links

            Activity

              People

                aivanov Alexey Ivanov
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: