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

MultiResolutionCachedImage unnecessarily creates base image to get its size

    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

          Issue Links

            Activity

            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/9d2b7575edf8
            User: alexsch
            Date: 2015-07-30 10:39:26 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/9d2b7575edf8 User: alexsch Date: 2015-07-30 10:39:26 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/9d2b7575edf8
            User: lana
            Date: 2015-08-19 22:04:45 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/9d2b7575edf8 User: lana Date: 2015-08-19 22:04:45 +0000

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: