equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
363 * |
363 * |
364 * Note that this is a SMART clone. Not all fields are fully copied, |
364 * Note that this is a SMART clone. Not all fields are fully copied, |
365 * because some of them (e.g., subjKeyId) will |
365 * because some of them (e.g., subjKeyId) will |
366 * not have their contents modified by subsequent calls to updateState. |
366 * not have their contents modified by subsequent calls to updateState. |
367 */ |
367 */ |
|
368 @SuppressWarnings("unchecked") // Safe casts assuming clone() works correctly |
368 public Object clone() { |
369 public Object clone() { |
369 try { |
370 try { |
370 ReverseState clonedState = (ReverseState) super.clone(); |
371 ReverseState clonedState = (ReverseState) super.clone(); |
371 |
372 |
372 /* clone checkers, if cloneable */ |
373 /* clone checkers, if cloneable */ |