if I do b/compile-clj what ClassVersion will the generated classes have? does it depend on the jdk used in the compilation process?
looks like 52 ( Java 8 ) , as per javap -v (compiled with openjdk23)
i believe that’s the classfile version of the Clojure compiler and cannot be adjusted higher or lower.
ie, whether bytecode is in memory or disk you are getting java 8 bytecode
Correct, it is always Java 8 bytecode, this is hardcoded in the compiler
(Likely to move forward in clojure 1.13)
Does not use the Java compiler, so that’s irrelevant here
for context, I had a case of having to upgrade JVM used in Github Actions because the newer google closure had jdk21 (65) class versions, so I wanted to check that it won't affect the build