File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
core/src/main/java/oracle/weblogic/deploy/util Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ public PyOrderedDict() {
5151 */
5252 public PyOrderedDict (PyOrderedDict other ) {
5353 this ();
54+ super .update (other );
5455 update (other );
5556 }
5657
@@ -279,6 +280,9 @@ public void __setitem__(PyObject key, PyObject value) {
279280 synchronized (this .linkedHashMap ) {
280281 this .linkedHashMap .put (key , value );
281282 }
283+ synchronized (super .table ) {
284+ super .table .put (key , value );
285+ }
282286 }
283287
284288 /**
@@ -287,6 +291,7 @@ public void __setitem__(PyObject key, PyObject value) {
287291 @ Override
288292 public void clear () {
289293 this .linkedHashMap .clear ();
294+ super .table .clear ();;
290295 }
291296
292297 /**
@@ -476,6 +481,7 @@ private void doUpdate(PyDictionary od) {
476481 for (int i = 0 ; i < pylist .size (); i ++) {
477482 PyTuple tuple = (PyTuple ) pylist .get (i );
478483 this .__setitem__ (Py .java2py (tuple .get (0 )), Py .java2py (tuple .get (1 )));
484+ super .__setitem__ (Py .java2py (tuple .get (0 )), Py .java2py (tuple .get (1 )));
479485 }
480486 }
481487
You can’t perform that action at this time.
0 commit comments