view patches/security/icedtea-6822057.patch @ 1693:15ba41d0ff2e

Add remaining security patches. 2009-11-09 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: Add remaining security patches. * NEWS: Updated with security patches. * patches/security/icedtea-6631533.patch, * patches/security/icedtea-6632445.patch, * patches/security/icedtea-6636650.patch, * patches/security/icedtea-6657026.patch, * patches/security/icedtea-6657138.patch, * patches/security/icedtea-6664512.patch, * patches/security/icedtea-6822057.patch, * patches/security/icedtea-6824265.patch, * patches/security/icedtea-6861062.patch, * patches/security/icedtea-6872358.patch: New security patches.
author Andrew John Hughes <ahughes@redhat.com>
date Mon, 09 Nov 2009 17:42:27 +0000
parents
children
line wrap: on
line source

--- old/src/solaris/classes/sun/awt/X11GraphicsDevice.java	2009-07-28 16:57:02.545000000 +0400
+++ openjdk/jdk/src/solaris/classes/sun/awt/X11GraphicsDevice.java	2009-07-28 16:57:01.921000000 +0400
@@ -134,7 +134,7 @@
                 makeConfigurations();
             }
         }
-        return configs;
+        return configs.clone();
     }
 
     private void makeConfigurations() {
--- old/src/windows/classes/sun/awt/Win32GraphicsDevice.java	2009-07-28 16:57:08.184000000 +0400
+++ openjdk/jdk/src/windows/classes/sun/awt/Win32GraphicsDevice.java	2009-07-28 16:57:07.557000000 +0400
@@ -170,7 +170,7 @@
                 if (defaultConfig != null) {
                     configs = new GraphicsConfiguration[1];
                     configs[0] = defaultConfig;
-                    return configs;
+                    return configs.clone();
                 }
             }
 
@@ -202,7 +202,7 @@
             configs = new GraphicsConfiguration[v.size()];
             v.copyInto(configs);
         }
-        return configs;
+        return configs.clone();
     }
 
     /**