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

The update of the environment does not work with jdk 16 #380

Closed
gnodet opened this issue Mar 18, 2021 · 0 comments · Fixed by #381
Closed

The update of the environment does not work with jdk 16 #380

gnodet opened this issue Mar 18, 2021 · 0 comments · Fixed by #381
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gnodet
Copy link
Contributor

gnodet commented Mar 18, 2021

➜  ~ jenv shell 16
➜  ~ mvnd -v
mvnd native client 0.4.2-darwin-amd64 (7d488f2c97680fde41508d9442edeabc583ac600)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.osx.OsXNativePty
[WARN] Environment mismatch ! Could not set the environment (java.lang.reflect.InaccessibleObjectException: Unable to make field private static final java.util.HashMap java.lang.ProcessEnvironment.theEnvironment accessible: module java.base does not "opens java.lang" to unnamed module @550ee7e5)
[WARN] A few environment mismatches have been detected between the client and the daemon.
[WARN] If the difference matters to you, stop the running daemons using mvnd --stop and
[WARN] start a new daemon from the current environment by issuing any mvnd build command.
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/mvnd/0.4.2/libexec/mvn
Java version: 16, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-16.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
@gnodet gnodet added the bug Something isn't working label Mar 18, 2021
@gnodet gnodet added this to the 0.4.3 milestone Mar 18, 2021
@gnodet gnodet self-assigned this Mar 18, 2021
gnodet added a commit that referenced this issue Mar 19, 2021
The update of the environment does not work with jdk 16, fixes #380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant