commit | 2921abc38831cc2b7973ff306679e149faacaf50 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Fri Dec 07 13:10:55 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Mon Dec 10 17:23:28 2018 +0000 |
tree | 42152d1ee6074f87a44a2301e3eeeccc36dc37b9 | |
parent | 096259bc704b039878b7e353d1838ae066cb36ff [diff] |
In Karaf 4.2, dynamic service injections must be declared as volatile Change-Id: I4eb90b7364b7bc436280e4f0f2c71c3e83d86554
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java b/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java index 288308d..eb01910 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java
@@ -112,7 +112,7 @@ bind = "bindComponentConfigService", unbind = "unbindComponentConfigService", policy = ReferencePolicy.DYNAMIC) - protected IntentService intentService; + protected volatile IntentService intentService; @Reference(cardinality = ReferenceCardinality.MANDATORY) protected WorkPartitionService partitionService;