On Wed, 10 Feb 2021 11:45:35 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> test/jdk/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java line 43: >> >>> 41: * @summary Shortening via " ... " is broken for Strings containing a >>> combining >>> 42: * diaeresis. >>> 43: * @run main/othervm -Dsun.java2d.uiScale=1 TestBadBreak >> >> I missed the point why the hardcoded values do not work in this test, both >> frame and robot should take the coordinates in the user's space. > > It uses hardcoded 200,90 for frame.setBounds.I guess it should be multiplied > by scale factor for correct bounds to be used. Both coordinates robot/frame use the user's space and internally should be transformed to the device space. But that transformation should be the same, there are should not be differences in the final result for both. ------------- PR: https://git.openjdk.java.net/jdk/pull/2502