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

MultiResolutionCachedImage unnecessarily creates base image to get its size

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b78
    • CPU:
      x86
    • OS:
      os_x

      Backports

        Description

        A DESCRIPTION OF THE REQUEST :
        MultiResolutionCachedImage getWidth() and getHeight() ask the base image for its width or height (via the superclass) instead of returning the baseImageWidth and baseImageHeight fields.

        JUSTIFICATION :
        Asking for the base image may cause an image to be created that would otherwise not be needed.



        CUSTOMER SUBMITTED WORKAROUND :
        Issue report requested by alexandr.scherbatiy@oracle.com

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                alexsch Alexandr Scherbatiy
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: