--- a/jdk/src/share/classes/java/awt/image/IndexColorModel.java Wed Dec 15 19:47:01 2010 +0300
+++ b/jdk/src/share/classes/java/awt/image/IndexColorModel.java Fri Dec 17 13:18:08 2010 +0300
@@ -625,7 +625,7 @@
}
nBits[0] = nBits[1] = nBits[2] = 8;
}
- return nBits;
+ return nBits.clone();
}
/**