title: Jenkins: what are the risks of upgrading Java 6 to Java 8?
body: <p>At work, I have inherited two instances of Jenkins. One runs legacy jobs on Java 1.5. The other runs newer projects on Java 1.6.</p>
  
  <p>I have been asked to upgrade both instances to Java 1.8.</p>
  
  <p>This will involve upgrading:</p>
  
  <ul>
  <li><strong>Java</strong> 1.6 to 1.8</li>
  <li><strong>Jenkins</strong> from 1.460 to 1.614</li>
  <li><strong>Glassfish</strong> from 3.1.2 to 4.1</li>
  </ul>
  
  <p><strong>Question:</strong> </p>
  
  <p>What should I be aware of as I start to upgrade? (E.g. risks of upgrading from JDK6 to JDK8)</p>
  
  <p>Are there any known compatibility errors between these versions?</p>