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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: