T268225 Switch Gerrit from Java 8 to Java 11 (original) (raw)

The puppet bits are preparation work to let us "trivially" switch from java 8 to java 11.

What worries me is whether our compiled plugin would actually work with java 11, pretty sure they got compiled with java 8 and maybe that will just work but I would like to avoid testing in production.

My plan was/is to:

Ideally all plugins would support standalone build. I gave it a try and send a patch upstream but haven't followed up on the review https://gerrit-review.googlesource.com/c/plugins/metrics-reporter-jmx/+/302102

I would like the extra plugins to be tracked via git, so we can tentatively fork some if need be. I haven't quite found an idea solution for that though.

If one feels adventurous, a switch to java 11 can be tried. Maybe the plugins will just work and that will complete this task.