funcool / buddy

Security library for Clojure
Apache License 2.0
827 stars 38 forks source link

Unsupported major.minor version 52.0 with java 1.7 and buddy 0.2.0 #14

Closed geraldodev closed 9 years ago

geraldodev commented 9 years ago

java -version java version "1.7.0_72" Java(TM) SE Runtime Environment (build 1.7.0_72-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)

With 0.2.0 I get:

CompilerException java.lang.UnsupportedClassVersionError: buddy/impl/BCrypt : Unsupported major.minor version 52.0, compiling:(buddy/hashers/bcrypt.clj:1:1)

That's not the case of 0.1.1. Is that a bug or 0.2.0 must be used with java 1.8 ?

Thanks for the work you have put on this library.

Geraldo

niwinz commented 9 years ago

Hi @geraldodev

Very strange, all tests pases under jdk7 and jdk8. Buddy contains some java filtes that are compiled under default jdk.. on my system at the moment of the deploy. Seems it my fault, because I have jdk8 as default jdk version. Lamentably I can not fix it until next week, sorry.

geraldodev commented 9 years ago

@niwibe No problem, meanwhile I'll use 0.1.1.

niwinz commented 9 years ago

I have already fixed in in the last version (0.2.1), but I have problems with clojars for deploying. I'm continuosly have partial inconsistent uploads. I have tried increment the version (0.2.2) but at this moment it is also incomplete inconsistent upload.

I have reported the error to clojars, and tomorow will try to upload again the 0.2.2 version. Sorry

niwinz commented 9 years ago

Now is uploaded with version number 0.2.3 and fixes the problem. Thanks for report it.