mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
This commit is contained in:
parent
fd8d1cd6bf
commit
5e6d6b8642
70 changed files with 643 additions and 603 deletions
|
@ -179,7 +179,7 @@ public class PrincipalName implements Cloneable {
|
|||
public Object clone() {
|
||||
try {
|
||||
PrincipalName pName = (PrincipalName) super.clone();
|
||||
UNSAFE.putObject(this, NAME_STRINGS_OFFSET, nameStrings.clone());
|
||||
UNSAFE.putReference(this, NAME_STRINGS_OFFSET, nameStrings.clone());
|
||||
return pName;
|
||||
} catch (CloneNotSupportedException ex) {
|
||||
throw new AssertionError("Should never happen");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue