Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation of environment variable extension #771

Closed
Bukama opened this issue Oct 6, 2023 · 1 comment · Fixed by #773
Closed

Improve documentation of environment variable extension #771

Bukama opened this issue Oct 6, 2023 · 1 comment · Fixed by #773

Comments

@Bukama
Copy link
Member

Bukama commented Oct 6, 2023

From time to time (e.g. AWS-Powertools-Lambda-Java-issue 1391) people think that the extension can't be uses with Java 17+, which is not true.

@beatngu13 suggested to somehow improve the documentation, to make this more visible.

@Bukama
Copy link
Member Author

Bukama commented Oct 6, 2023

Maybe we can also add a hint/link in the error message or some warning for those who didn't read the documentation? But I'm not sure if we can intervene the standard Java way.

What we surely can do add a notice at the very first part of the documentation and rename the "reflective access" headline to something with "usage in Java 11 / 17 +" or something.

@beatngu13 beatngu13 changed the title Improve documentation of SysEnv-Extension Improve documentation of environment variable extension Oct 6, 2023
beatngu13 added a commit that referenced this issue Oct 7, 2023
This PR improves the environment variable extension for use with Java
17+. That is, better documentation and warnings as well as errors when
it comes to handling strong encapsulation of the JDK.

Closes: #771
PR: #773
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants