src/share/classes/com/sun/imageio/plugins/gif/GIFImageMetadata.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2005, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 230,240 **** toISO8859(applicationID)); byte[] authenticationCode = (byte[])authenticationCodes.get(i); appExtNode.setAttribute("authenticationCode", toISO8859(authenticationCode)); byte[] appData = (byte[])applicationData.get(i); ! appExtNode.setUserObject((byte[])appData.clone()); node.appendChild(appExtNode); } root.appendChild(node); } --- 230,240 ---- toISO8859(applicationID)); byte[] authenticationCode = (byte[])authenticationCodes.get(i); appExtNode.setAttribute("authenticationCode", toISO8859(authenticationCode)); byte[] appData = (byte[])applicationData.get(i); ! appExtNode.setUserObject(appData.clone()); node.appendChild(appExtNode); } root.appendChild(node); }