Remove no-longer necessary workaround for SI-5731.

And avoid deprecated 0-arg abort and deprecated runtime classes.