MyWarp

MyWarp

220k Downloads

Require Java8

TheE opened this issue ยท 2 comments

commented

Requiring Java 8 has several befits:

  • Lambdas (obviously),
  • Lots of code that uses Google Guava (Predicate, ListenableFuture, Optional, Collections2...) could be rewritten,
  • JOOQ 3.7 requires Java 8,
  • ...

Minecraft itself is currently build against Java6 (as is Bukkit). However, since official support for Java 6 ended and the new Minecraft launcher bundles a custom JDK (?), Minecraft itself could update to Java 8 in the future. Sponge already requires Java 8.

commented

Java 6 has reached its end of life (no public updates) in February 2013, Java 7 in April 2015. I think it is safe to assume that every (sane) server admin is now running Java 8.

commented

When using Java8, me might want to use the Checker Framework with JOOQ's annotation checks: https://blog.jooq.org/2016/05/09/jsr-308-and-the-checker-framework-add-even-more-typesafety-to-jooq-3-9/