When you set:

:javac-options ["-target" "1.6" "-source" "1.6" ] 

and


:profiles {:uberjar {:aot :all

                       :dependencies [[org.clojure/clojure "1.6.0"]]}

             }

On the project.clj 


When I execute:

lein uberjar

The classes that are generated in de target/classes path when you examin 
the bytes the Java version (with: xxd target/classes/xxx/core.class | less) 
you can see:

0000000: cafe babe 0000 0031 0075 0100 0878 7878  .......1.u...xxx

                       this  31            ^ idicates that this clas is 
java 1.5 not 1.6

I think this is a bug. Any help please?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to