<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi Infra,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">In oVirt Engine we use Java 8 and build against JDK 8. GWT (or at least the version we use), however, does not support neither Java 8 syntax nor the JDK 8 classes or methods. While this is easily caught by just building the GWT, it makes it way too easy to introduce code today that will break something tomorrow.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">And this is where animal-sniffer[1] comes in. It checks (for our usecase), the JDK usages and makes sure we comply to JDK 7&#39;s signature even though we&#39;re building with JDK 8. I recall we used to have such a job in Jenkins, but now I cannot find it, and recent patches [2] have proven it&#39;s indeed needed (I have a vague recollection we disabled it when we were still using JDK 7 and upgraded to a GWT version that supports JDK 7, but I can&#39;t even find the disabled job on Jenkins - which could either mean it doesn&#39;t exist or that I don&#39;t know how to look, of course).</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">TL;DR - we need this job re-enabled:</div><div class="gmail_default" style="font-family:monospace,monospace"><ul><li>What to run - &quot;mvn animal-sniffer:check&quot; on a directory that already has the built targets. If you&#39;re triggering it on sources that haven&#39;t been built yet, or on a directory you&#39;re not sure about the status, use &quot;mvn clean install animal-sniffer:check -DskipTests&quot; instead<br></li><li>When to run - trigger per verified patch in gerrit (similar to findbugs) on a patch that touches one of the following directories:</li><ul><li>backend/manager/modules/compat</li><li>backend/manager/modules/common</li><li>backend/manager/modules/searchbackend</li><li>backend/manager/modules/aaa</li></ul></ul><div><br></div><div>Thanks!</div></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">[1] <a href="http://www.mojohaus.org/animal-sniffer/" target="_blank">http://www.mojohaus.org/animal-sniffer/</a></div><div class="gmail_default" style="font-family:monospace,monospace">[2] <a href="https://gerrit.ovirt.org/#/q/topic:animal-sniffer+project:ovirt-engine" target="_blank">https://gerrit.ovirt.org/#/q/topic:animal-sniffer+project:ovirt-engine</a></div></div>