Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java @ 11649:e8dfad9a424f
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 15 Sep 2013 16:44:09 +0200 |
parents | a21a54b7ead1 136eaa90ef41 |
children | c7769440afd8 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java Sun Sep 15 16:31:32 2013 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java Sun Sep 15 16:44:09 2013 +0200 @@ -37,7 +37,7 @@ /** * Utility class that manages the special access methods for node instances. */ -public class NodeUtil { +public final class NodeUtil { /** * Interface that allows the customization of field offsets used for {@link Unsafe} field @@ -274,7 +274,7 @@ return array; } - protected static final Unsafe unsafe = getUnsafe(); + private static final Unsafe unsafe = getUnsafe(); private static Unsafe getUnsafe() { try {