Prevent a CME during actor instantiation 07/81007/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Mar 2019 12:02:36 +0000 (13:02 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 19 Mar 2019 14:52:37 +0000 (15:52 +0100)
commit1a181f5371db2ce55260a94cd379ff74007050f3
treefeeb978176c9b820530422e130aadf4e73bfc50c
parent99b2dc92f6a1991629d014c6d4a69df18269d627
Prevent a CME during actor instantiation

This issue was missed in review: createHandler() should not be
touching handlers, as it is already called from computeIfAbsent()
and hence would result in a CME with JDK11:
https://bugs.openjdk.java.net/browse/JDK-8206399

JIRA: CONTROLLER-1884
Change-Id: I8d4940b8bec2cf727d97d68796f1c9cdaaaf89d3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 04107fb5efd9bd90809cb31897ec031bcb484df8)
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/SegmentedFileJournal.java