--- a/jdk/src/share/classes/java/dyn/NoAccessException.java Wed Jul 05 17:11:12 2017 +0200
+++ b/jdk/src/share/classes/java/dyn/NoAccessException.java Fri Apr 30 23:48:23 2010 -0700
@@ -27,11 +27,12 @@
/**
* Thrown to indicate that a caller has attempted to create a method handle
- * which calls a method to which the caller does not have access.
+ * which accesses a field, method, or class to which the caller does not have access.
* This unchecked exception is analogous to {@link IllegalAccessException},
* which is a checked exception thrown when reflective invocation fails
* because of an access check. With method handles, this same access
- * checking is performed on behalf of the method handle creator,
+ * checking is performed by the {@link MethodHandles.Lookup lookup object}
+ * on behalf of the method handle creator,
* at the time of creation.
* @author John Rose, JSR 292 EG
*/