bbenet / json-path

Automatically exported from code.google.com/p/json-path
0 stars 0 forks source link

json-path does not compile in JDK 5, will probably not run #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use json-path as dependency and compile with JDK 5

What is the expected output? What do you see instead?
It should build. I get:
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation 
failure
<http://xxx.java>:[8,-1] cannot access com.jayway.jsonpath.JsonPath
bad class file: 
/var/opt/data/hudson/localrepo/com/jayway/jsonpath/json-path/0.8.1/json-path-0.8
.1.jar(com/jayway/jsonpath/JsonPath.class)
class file has wrong version 50.0, should be 49.0

I assume it won't run either

What version of the product are you using? On what operating system?
0.8.1

Is there an earlier version I could use?

Original issue reported on code.google.com by dietrich...@gmail.com on 7 Aug 2012 at 6:49

GoogleCodeExporter commented 8 years ago
language level changed to 5

Original comment by kalle.st...@gmail.com on 31 Aug 2012 at 9:08

GoogleCodeExporter commented 8 years ago
Thank you very much for this fix!

Original comment by dietrich...@gmail.com on 1 Sep 2012 at 11:29