Skip to content

Commit

Permalink
Add warning regarding environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyfrieze committed Nov 2, 2021
1 parent cc3275b commit 8f43443
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
[![Build status](https://ci.appveyor.com/api/projects/status/r943gjn189rlxts9/branch/main?svg=true)](https://ci.appveyor.com/project/ashleyfrieze/system-stubs/branch/main)
[![codecov](https://codecov.io/gh/webcompere/system-stubs/branch/main/graph/badge.svg?token=J0N9VCXFQ1)](https://codecov.io/gh/webcompere/system-stubs)

> **⚠ WARNING: JDK Compatibility.**
> From JDK16 onwards, there's deep restrictons on the ability to use reflection to modify the Unmodifiable `Map` where `System` stores the
> environment variables. We're looking for a fix to this. Until then, this library is not recommended for environment variable settings.
## Overview
System Stubs is used to test code which depends on methods in `java.lang.System`.

Expand Down

0 comments on commit 8f43443

Please sign in to comment.