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

Unable to make field when commit #201

Open
zacisco opened this issue Nov 17, 2021 · 1 comment
Open

Unable to make field when commit #201

zacisco opened this issue Nov 17, 2021 · 1 comment

Comments

@zacisco
Copy link

zacisco commented Nov 17, 2021

Unable to make field private java.lang.Throwable java.lang.Throwable.cause accessible: module java.base does not "opens java.lang"

I don't know,where (eclipse or svnkit or subversive/subclipse) and why this error appears.
make commit and get it (on subversive too) and rarely

after make commit from terminal,error is disappears

@brunesto
Copy link

brunesto commented Apr 7, 2022

this is due to java 17 'update' [https://segmentfault.com/a/1190000040985737/en]
the fix is to add the line
--add-opens=java.base/java.lang=ALL-UNNAMED

just after the line --vm in eclipse.ini.
Note that the normal way of specifying this vm args '--add-opens java.base/java.lang=ALL-UNNAMED' ,i.e. where there is a space instead of the first equal sign will not work here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants