Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8125265

ImageCursor.getBestSize returns different values on macosx, the value is more than 64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • macosx-amd64

      ImageCursor.getBestSize called with 2 different sizes, one lesser than the platform size (20,20) and another larger than platform size (300,300). It is expected that the method return same values and no more than 64 for MacOSx but it return (20,20) and (300, 300). Same results are for fx 2.2.3b32 and fx 2.2.0b21

      See attached test.
      Test works fine on windows xp x86 and return same valued for both cases - (32,32)

      Affected tests:
      JavaFXCompatibility
      graphics/api/imagecursor/ImageCursorTest3Test.java

      see http://aurora-ds.ru.oracle.com:9500/runs/126709.ManualSubmit-1/reportDir/images/ImageCursor3.png

            anthony Anthony Petrov (Inactive)
            vakulova Vera Akulova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: