Several things are marked as deprecated in PowerMock 1.x. All such places have to be moved and all deprecated code also.