[YANGTOOLS-217] Eliminate JavassistUtils.getLock() and ClassLoaderUtils.withLock() Created: 16/Jul/14 Updated: 10/Apr/22 Resolved: 29/Jul/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: 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. |
| Comments |
| Comment by Robert Varga [ 25/Jul/14 ] |
|
https://git.opendaylight.org/gerrit/#/c/9319/ |