Skip to content

Commit c4ca2d6

Browse files
ammbradanthe1st
authored andcommitted
Update app/pages/learn/01_tutorial/04_mastering-the-api/02_invoke/00_methodhandle.md
Co-authored-by: dan1st <[email protected]>
1 parent d4fb492 commit c4ca2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/learn/01_tutorial/04_mastering-the-api/02_invoke/00_methodhandle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ decide whether we should limit its access level.
5757

5858
For example, if we create a method handle pointing to a private method and that method handle is accessible from outside,
5959
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())
6161
method, so it will only be able to search for public members in public classes within packages that are exported unconditionally:
6262

6363
```java

0 commit comments

Comments
 (0)