MT-unsafe code in HTML parser

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.4.0
    • Affects Version/s: 1.3.1
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: