Commit 9cec4d7
Fix "no private access for invokespecial"
Resolves IllegalAccessException by using MethodHandles.privateLookupIn()
instead of MethodHandles.lookup().in() to obtain proper private access
privileges before invoking interface default methods reflectively.
Introduced by GH-4149
Signed-off-by: Yanming Zhou <[email protected]>1 parent 68adc26 commit 9cec4d7
File tree
1 file changed
+2
-2
lines changed- spring-ai-spring-boot-testcontainers/src/main/java/org/springframework/ai/testcontainers/service/connection/mongo
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments