allow subclassing JavaDebugProcess (https://youtrack.jetbrains.com/issue/IDEA-128919#comment=27-847155)
(cherry picked from commit c5f8d51)