Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3469

TaskModelProvider is not thread safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.2
    • 6.0.0
    • jBPM Core
    • None

      Description of problem:
      TaskModelProvider is not thread safe while it should be because it uses ServiceLoader which explicitly states in documentation that:
      "Instances of this class are not safe for use by multiple concurrent threads." (http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html)

      This affects environments that need to use the TaskModelProvider from different threads with no prior invocation.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

              swiderski.maciej Maciej Swiderski (Inactive)
              swiderski.maciej Maciej Swiderski (Inactive)
              Jiri Svitak Jiri Svitak (Inactive)
              Jiri Svitak Jiri Svitak (Inactive)
              Kris Verlaenen, Marek Baluch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: