src/share/classes/com/sun/imageio/plugins/jpeg/JFIFMarkerSegment.java
Print this page
*** 1446,1456 ****
}
protected Object clone () {
ICCMarkerSegment newGuy = (ICCMarkerSegment) super.clone();
if (profile != null) {
! newGuy.profile = (byte[]) profile.clone();
}
return newGuy;
}
boolean addData(JPEGBuffer buffer) throws IOException {
--- 1446,1456 ----
}
protected Object clone () {
ICCMarkerSegment newGuy = (ICCMarkerSegment) super.clone();
if (profile != null) {
! newGuy.profile = profile.clone();
}
return newGuy;
}
boolean addData(JPEGBuffer buffer) throws IOException {