Fix bug in method disp of dseries.
(cherry picked from commit 6e8b35c7f3d0b153d152037315f78f12b6a4dc7c)
Fix treatment of error conditions in bytecode.
(manually cherry picked from commit b9df616c18fdb03749fccbce90efbc813b8e1f07)