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

MT-unsafe code in HTML parser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.3.1
    • client-libs
    • None
    • beta
    • generic
    • generic

      While investigating 4355157, it was discovered that GapContent$MarkVector
      contains a static data member, "oneMark" which is used in a thread-unsafe fashion.

      The specific test which causes the code in question to be called from multiple
      threads is attached. JEditorPane's constructor taking a URL loads that URL in
      a background thread, which causes this code to ultimately be called by
      multiple threads.

            svioletsunw Scott Violet (Inactive)
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: