Skip to content

Commit 9b9e34d

Browse files
authored
Improve Java 16 warning
1 parent ede7d20 commit 9b9e34d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
[![codecov](https://codecov.io/gh/webcompere/system-stubs/branch/main/graph/badge.svg?token=J0N9VCXFQ1)](https://codecov.io/gh/webcompere/system-stubs)
55

66
> **⚠ WARNING: JDK Compatibility.**
7-
> From JDK16 onwards, there's deep restrictons on the ability to use reflection.
7+
> From JDK16 onwards, there are deeper restrictons on the ability to use reflection. Previous versions of this library, and others in the space, encounter
8+
> an Illegal Reflective Access warning, or even a runtime error such as `java.lang.reflect.InaccessibleObjectException` when trying to manipulate
9+
> the `Map` behind the system's environment variables.
810
>
911
> Consequently, this library now uses `mockito-inline` version 3.x to enable
1012
> the interception of calls for reading environment variables. This requires consumers

0 commit comments

Comments
 (0)