JDK-8132123 : MultiResolutionCachedImage unnecessarily creates base image to get its size
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-07-17
  • Updated: 2015-09-10
  • Resolved: 2015-07-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b78Fixed
Related Reports
Relates :  
Relates :  
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