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

MultiResolutionCachedImage unnecessarily creates base image to get its size

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 9
    • 9
    • client-libs
    • b78
    • x86
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: