Potential hang in multithreaded calls to UIDefaults.get()

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.3.1
    • Affects Version/s: 1.3.0, 1.3.0_02
    • Component/s: client-libs
    • None
    • ladybird
    • generic, x86
    • generic, solaris_7, windows_nt

        UIDefaults.get() calls wait() on itself in a synchronized block and later calls
        notify(). In a multithreaded situation it is possible for more than one thread
        to be waiting for a result, so notifyAll() should be used instead.

        See comments section for test case which can provoke a hang.

              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: