Fixed
Status Update
Comments
da...@gmail.com <da...@gmail.com> #2
I notice the same issue and LogCat shows the following message:
Google Play services out of date. Requires 3159100 but found 3136130
Google Play services out of date. Requires 3159100 but found 3136130
da...@gmail.com <da...@gmail.com> #3
Same here.
"Google Play services out of date. Requires 3159100 but found 3136130"
"Google Play services out of date. Requires 3159100 but found 3136130"
da...@gmail.com <da...@gmail.com> #4
me as well....
Google Play services out of date. Requires 3159100 but found 3136130
Google Play services out of date. Requires 3159100 but found 3136130
da...@gmail.com <da...@gmail.com> #5
I was hopeful that the release of API 18 (4.3) would have created a solution to this, unfortunately it includes version 3158130
da...@gmail.com <da...@gmail.com> #6
Having the same issue:
07-25 00:03:54.998: W/GooglePlayServicesUtil(27293): Google Play services out of date. Requires 3159100 but found 3158130
07-25 00:03:54.998: W/GooglePlayServicesUtil(27293): Google Play services out of date. Requires 3159100 but found 3158130
gi...@appspot.gserviceaccount.com <gi...@appspot.gserviceaccount.com> #7
same
da...@gmail.com <da...@gmail.com> #8
SAME ! - Google can't do sth working in 100 percent?
Description
What steps will reproduce the problem?
1. Switch to using Java 17
2. Put some library in <gerrit_site>/lib directory, for example MariaDB connector
3. Start init program
What is the expected output?
init program works as expected
What do you see instead?
init program crashes with this error:
fatal: Learn more:https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
fatal:
fatal: Caused by: InaccessibleObjectException: Unable to make protected void URLClassLoader.addURL(URL) accessible: module java.base does not "opens java.net" to unnamed module @35d019a3
fatal: at java.base/AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
fatal: at java.base/AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
fatal: at java.base/Method.checkCanSetAccessible(Method.java:199)
fatal: at java.base/Method.setAccessible(Method.java:193)
fatal: at IoUtil.loadJARs(IoUtil.java:83)
fatal: at SiteLibraryLoaderUtil.loadSiteLib(SiteLibraryLoaderUtil.java:38)
[...]
fatal:
fatal: Unable to make protected void java.net.URLClassLoader.addURL(java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @35d019a3
Please provide any additional information below.
The problem is Strongly Encapsulate JDK Internals: [1].
A similar problem was solved in context of this issue: [2],
in this PR: [3].
Workaround for now is to put this line in <gerrit_site>/etc/gerrit.config:
javaOptions = "--add-opens java.base/java.net=ALL-UNNAMED"
and run init program with
java --add-opens java.base/java.net=ALL-UNNAMED -jar gerrit.war init -d <gerrit_site>
[1]https://openjdk.java.net/jeps/403 https://github.com/LuckPerms/LuckPerms/issues/2853 https://github.com/LuckPerms/LuckPerms/pull/2899
[2]
[3]