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

[macosx] CGraphicsDevice.getConfigurations() returns reference to member (does not copy configs)

XMLWordPrintable

    • 2d
    • b13
    • generic
    • os_x
    • Verified

        http://java.net/jira/browse/MACOSX_PORT-244 submitted 2011/08/08 by Taras Ledkov
        Target build: b202
        Keywords: test-fail-macos
        Test (regression):
        java/awt/GraphicsDevice/CloneConfigsTest.java
        Test verifies that list of supported graphics configurations can not be changed via modification of elements of an array returned by getConfiguration() method.
        But it waits GraphicsConfiguration[] instead of CGraphicsConfig[].
        Also it waits, that changes into retrieved array have not affect on GraphicsDevice (it seems to me).
        Please see src/macosx/classes/sun/awt/CGraphicsDevice.java (lines: 43, 69)
        Test passed on JDK6

              bae Andrew Brygin
              vasya Vassili Igouchkine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: