Open qcastel opened 8 years ago
Same issue here on Java 7. Downgrading to 2.0.1 allows it to work, but I'd love to see this resolved.
The maven-compiler-plugin needs to be configured to get a consistent target JVM version:
https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
Currently it isn't configured so will use whatever default method maven-compiler-plugin is setup to use to choose these.
Looking further into it, the author has configured it in the parent pom for all of their projects to be 1.8:
https://repo.maven.apache.org/maven2/de/malkusch/parent/oss-parent/1.10/oss-parent-1.10.pom
However, that can be overriden locally for this project to downgrade it to Java7.
Opened a pull request with a fix for the next version:
https://github.com/whois-server-list/public-suffix-list/pull/10
I'm trying to use your library with java 7. When I compile, I get
Java unsupported major minor version 52.0
so I believe the jar is compiled with Java 8.
My application needs to be compatible with java 7 and 8. Have you got a suggestion? using 2.0.1?