File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/pages/learn/01_tutorial/04_mastering-the-api/02_invoke Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ decide whether we should limit its access level.
57
57
58
58
For example, if we create a method handle pointing to a private method and that method handle is accessible from outside,
59
59
so is the private method. Normally we would like to avoid that. One way is to make the lookup object and method handle
60
- ` private ` too. Another option is to create the lookup object using [ ` MethodHandles.publicLookup ` ] ( javadoc:MethodHandles.publicLookup() )
60
+ ` private ` too. Another option is to create the lookup object using the [ ` MethodHandles.publicLookup ` ] ( javadoc:MethodHandles.publicLookup() )
61
61
method, so it will only be able to search for public members in public classes within packages that are exported unconditionally:
62
62
63
63
``` java
You can’t perform that action at this time.
0 commit comments