jenkinsci / plasticscm-plugin

A plugin for Jenkins to be able to use Plastic SCM
MIT License
16 stars 31 forks source link

Update to Java 11 #71

Closed danipen closed 11 months ago

danipen commented 11 months ago

This PR enables Java 11 support for the Jenkins plugin.

Testing done

Published a build of the plugin (hpi) and test a manual install. See screenshot. image

danipen commented 11 months ago

@mig42 your suggestion about hudson.Util.fixEmpty() doesn't fix the SpotBugs build. We need to explicitly check it's not null. I'll revert the changes.

mig42 commented 11 months ago

You're right. It's Util.fixNull(). I usually get confused between those methods. So we should use that for consistency instead of introducing that other Objects class.