jOOQ / jOOL

jOOλ - The Missing Parts in Java 8 jOOλ improves the JDK libraries in areas where the Expert Group's focus was elsewhere. It adds tuple support, function support, and a lot of additional functionality around sequential Streams. The JDK 8's main efforts (default methods, lambdas, and the Stream API) were focused around maintaining backwards compatibility and implementing a functional API for parallelism.
http://www.jooq.org/products
Apache License 2.0
2.08k stars 167 forks source link

Type inference regressions when compiling with JDK 9 #323

Closed fupfin closed 6 years ago

fupfin commented 6 years ago

Expected behavior and actual behavior:

Even pom.xml's compiler plugin is configured using java 1.8 spec, I can not compile jOOL with JDK 9. In JDK 8, I can compile jOOL with no error.

out.txt

Steps to reproduce the problem:

  1. Clone jOOL from github project
  2. cd jOOL
  3. mvn compile

Versions:

lukaseder commented 6 years ago

Thanks for your report. Indeed, I can reproduce this issue. Probably a bug in the JDK compiler (every release had such bugs / regressions on generics compilation), but maybe we can work around it for the time being.

fupfin commented 6 years ago

Thank you. I can compile jOOL without any errors, now.