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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      macosx-amd64

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: