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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: