diff options
author | jfrijters <jfrijters> | 2011-07-26 03:11:09 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-07-26 03:11:09 +0400 |
commit | 9b6c88e868d68a5607e0af5d6715b876777c27d8 (patch) | |
tree | 5871edb0f46a088a8b06707fddb17de078fc9bdd /openjdk/sun | |
parent | d762ff8868df62bd241ba32349d8340095a83a8d (diff) |
Merge in java.lang.invoke package and the beginnings of MethodHandle support.
Diffstat (limited to 'openjdk/sun')
-rw-r--r-- | openjdk/sun/misc/Unsafe.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openjdk/sun/misc/Unsafe.java b/openjdk/sun/misc/Unsafe.java index 0e730de4..8fccb36f 100644 --- a/openjdk/sun/misc/Unsafe.java +++ b/openjdk/sun/misc/Unsafe.java @@ -32,6 +32,7 @@ import ikvm.lang.Internal; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.lang.reflect.ReflectHelper; +import java.security.ProtectionDomain; import java.util.ArrayList; public final class Unsafe @@ -1041,4 +1042,14 @@ public final class Unsafe { java.util.concurrent.locks.LockSupport.unpark((Thread)thread); } + + public Object staticFieldBase(Field f) + { + return null; + } + + public Class defineClass(String name, byte[] buf, int offset, int length, ClassLoader cl, ProtectionDomain pd) + { + throw new ikvm.internal.NotYetImplementedError(); + } } |