Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-217

Eliminate JavassistUtils.getLock() and ClassLoaderUtils.withLock()

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    Description

      JavassistUtils.getLock() is a remnant from the time of direct xtend use, where we do not have the ability to synchronize on an object.

      Now that we are using Java to interact with JavassistUtils, we can use an external synchronized block. Do just that, migrate the users, eliminate getLock().

      Once that is done, ClassLoaderUtils' withLock-style methods are no longer used and need to be eliminated.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: