changeset 2764 | 2e45af54c0f9 |
parent 2707 | 5a17df307cbc |
child 5506 | 202f599c92aa |
--- a/jdk/src/share/classes/sun/dyn/DirectMethodHandle.java Mon May 11 21:09:58 2009 -0700 +++ b/jdk/src/share/classes/sun/dyn/DirectMethodHandle.java Tue May 12 13:54:22 2009 -0700 @@ -45,8 +45,6 @@ if (!m.isResolved()) throw new InternalError(); - // Null check and replace privilege token (as passed to JVM) with null. - if (lookupClass.equals(Access.class)) lookupClass = null; MethodHandleNatives.init(this, (Object) m, doDispatch, lookupClass); }