changeset 4994:a06fd6ada85c

7143612: improve backwards compatibility of OSIS post-CR6887286 Reviewed-by: flar, prr Contributed-by: david.buck@oracle.com
author prr
date Tue, 14 Feb 2012 14:16:49 -0800
parents 996cd6e8d00e
children 24e30ae2a192
files src/share/classes/sun/awt/image/OffScreenImageSource.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/awt/image/OffScreenImageSource.java	Thu Feb 09 19:42:39 2012 -0800
+++ b/src/share/classes/sun/awt/image/OffScreenImageSource.java	Tue Feb 14 14:16:49 2012 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -185,6 +185,7 @@
             theConsumer.setDimensions(image.getWidth(), image.getHeight());
             theConsumer.setProperties(properties);
             sendPixels();
+            theConsumer.imageComplete(ImageConsumer.SINGLEFRAMEDONE);
             theConsumer.imageComplete(ImageConsumer.STATICIMAGEDONE);
         } catch (NullPointerException e) {
             if (theConsumer != null) {