[macosx] MultiResolutionImage: @2x Naming Convention and file names case sensitivity

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs

      Just another minor question about @2x Naming Convention


      please take JDK-8133847 test example and define

      private static final String IMAGE_NAME_1X = "image.png";
      private static final String IMAGE_NAME_2X = "image@2x.png";

      - the image loaded should be recognized as a multi-resolution image (Mac OS X 10.10.3, JDK9 b77).

      Then please try the following pairs:

      "image.png" + "image@2X.png" (capital letter 'X'), "IMAGE.png" + "image@2x.png", "IMAGE.png" + "iMaGe@2x.png" etc., - the result will be the same.

      Could it lead to some mess?

      At a 1st glance there are no mentions about the case sensitivity in the convention.

            Assignee:
            Alexandr Scherbatiy
            Reporter:
            Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: