Classics. The instances passed to addEditorHyperlinkListener
and removeEditorHyperlinkListener are different because
the Kotlin function is converted to the Java interface every time.
Not critical in this case, but better be fixed, if only
to not serve as a dangerous example for others.
(cherry picked from commit 11295d27ff2591610425051840bdb73509db960f)
GitOrigin-RevId: ea21410968d2e7a08195a1e8e718406d36044744