--- old/src/share/classes/com/sun/imageio/plugins/jpeg/JFIFMarkerSegment.java 2014-01-27 11:28:20.000000000 -0800 +++ new/src/share/classes/com/sun/imageio/plugins/jpeg/JFIFMarkerSegment.java 2014-01-27 11:28:20.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2014, 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 @@ -1448,7 +1448,7 @@ protected Object clone () { ICCMarkerSegment newGuy = (ICCMarkerSegment) super.clone(); if (profile != null) { - newGuy.profile = (byte[]) profile.clone(); + newGuy.profile = profile.clone(); } return newGuy; }