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

[macosx] SetDisplayMode fails if graphics system has only display modes with unknown refresh rate

    XMLWordPrintable

Details

    Description

      The following method:

      http://download.java.net/jdk8/docs/api/java/awt/GraphicsDevice.html#setDisplayMode-java.awt.DisplayMode-

      "passing a display mode with DisplayMode.REFRESH_RATE_UNKNOWN refresh rate will result in selecting a display mode from the list of available display modes with matching width, height and bit depth."

      However this might not be so - there are MacOSX systems where refresh rate is completely unknown for all the display modes

      Reproducible: Always
      Checked on machine: stt-mac-09
      Is it a platform specific issue: yes
      Steps to reproduce: run attached file

      Attachments

        1. DM.java
          1 kB
          Andrey Rusakov

        Activity

          People

            serb Sergey Bylokhov
            arusakov Andrey Rusakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: