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

[Mac, Retina] Image loading for @2x images may try to append @2x suffix to wrong part of URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 8u40
    • 8
    • javafx
    • None

      Under rare circumstances the code to append @2x to an image filename may append it to the wrong part of the URL/filename. The code tries to find the image extension using lastIndexOf('.'), but if the actual image filename does not have an extension then it may find a period in an earlier component of the pathname and append the @2x before the period that exists there.

            vadim Vadim Pakhnushev
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: