Gerrit 3.6 and Java 17 errors

91 views
Skip to first unread message

Clark Boylan

unread,
Jan 24, 2023, 4:52:12 PM1/24/23
to Repo and Gerrit Discussion
I've recently begun testing a conversion of our Java 11 Gerrit 3.6
install to a Java 17 Gerrit 3.6 installation. The release notes [0]
indicate that Gerrit is fully compatible with Java 17, but I've run
into the errors captured by issue 15994 [1]. This issue does provide a
workaround which I've tested, and the workaround does appear to result
in successful Gerrit init and execution.

The problem with the workaround is that you must remember to apply it
to every java command line execution of the Gerrit war (making it
clunky and error prone). I'm also not entirely sure how safe this
workaround is.

Is this workaround viable for production deployments?

Should the Gerrit 3.6 (and 3.7?) release notes be updated to more
accurately reflect this issue with Java 17?

Is this something that could be fixed removing the need for a workaround?

[0] https://www.gerritcodereview.com/3.6.html
[1] https://bugs.chromium.org/p/gerrit/issues/detail?id=15994

Any clarification on this is appreciated.

Clark
Reply all
Reply to author
Forward
0 new messages