Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Conversation

@geoffreyharding
Copy link

Fix errors when using QueryDSL with JDK version 9 or higher.
Example error : "parameterized types are only available if source level is 1.5 or greater"
Root cause: codegen does not recognize the new Java versioning scheme (JDK 8: "1.8", JDK 9: "9").
Perhaps there exists a better fix but for our purposes this was the simplest workaround.

@Shredder121
Copy link
Member

Oh, it looks like Travis doesn't do Java 7 anymore.
But at least as a stopgap solution this might work.
Let me think about this.
I already think that if the version parsed as double/int/whatever is higher than 10, it's a new version scheme.
But if this has repercussions I do not know yet.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants