8150844: [hidpi] [macosx] -Dsun.java2d.uiScale should be taken into account for OS XReviewed-by: serb, avstepan
8142406: [TEST] MultiResolution image: need test to cover the case when @2x image is corruptedReviewed-by: serb, ssadetsky