Specifying a target of 1.6 causes the version to be fine. However your other objection makes sense as it is easy to let new methods creep in. I think the build needs to be able to run with any of Java 6, 7, or 8. However, I think Findbugs runs as part of the site build. I really don't care if Java 8 is required for that so long as the release build uses Java 6.
Sent from my iPad > On Aug 19, 2014, at 9:34 PM, Remko Popma <[email protected]> wrote: > > Isn't the class version different when building on java 7? Java 6 won't run > classes built with java 7 I think. > > If we can just do the Javadoc that should be ok. > > Sent from my iPhone > >> On 2014/08/20, at 12:37, Gary Gregory <[email protected]> wrote: >> >> If we want to use the current version of FindBugs 3.0.0, instead of 2.5.x, >> we need to build with Java 7 instead of 6. The target JRE can still be Java >> 6 of course. >> >> Thoughts? >> >> Gary >> >> -- >> E-Mail: [email protected] | [email protected] >> Java Persistence with Hibernate, Second Edition >> JUnit in Action, Second Edition >> Spring Batch in Action >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory
