The fix for JDK-8279614 addressed the inconsistent rendering of EtchedBorder in HiDPI environment, in particular at 150. And works well for the cases where background of the component is the same as of its parent.
Yet if the background is different, it shines through the border.
At 100% scale, there's 1-pixel white background on the bottom and right; at 125% scale, there's 1-pixel white background on the top and right.
To reproduce, run the attached Java app, EtchedBorderBackgroundTest.java, or refer to the screenshots.