Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use --release flag in JDK 9+ based builds #7587

Closed
lukaseder opened this issue Jun 15, 2018 · 0 comments
Closed

Use --release flag in JDK 9+ based builds #7587

lukaseder opened this issue Jun 15, 2018 · 0 comments

Comments

@lukaseder
Copy link
Member

Until jOOQ 3.11, jOOQ was built using JDK 8. Cross releasing to JDK 6 & 8 was implemented using

  • A home grown preprocessor
  • Different maven source and target versions
  • The animal-sniffer plugin

Details here:
https://blog.jooq.org/2016/03/01/how-to-support-java-6-8-9-in-a-single-api/

With jOOQ 3.12, the build is based on JDK 10 (or 11, depending on the release timeline). We can now use the new --release flag from the JDK's compiler, see JEP 247:

This will be a bit more robust than using the animal-sniffer plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant