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

MultiResolutionCachedImage unnecessarily creates base image to get its size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • client-libs
    • b78
    • x86
    • os_x

        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

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

                Created:
                Updated:
                Resolved: