Fork me on GitHub
#juxt
<
2022-09-22
>
richiardiandrea18:09:22

Hi folks! I have just bumped the clojure tools cli to Clojure CLI version 1.11.1.1165 And started see this:

clojure -T:build one-jar :jar-file \"target/appserver.jar\"
MANDATORY_WARNING: /bootstrap/onejar/src/com/simontuffs/onejar/Boot.java, line 530: java.security.AccessController in java.security has been deprecated and marked for removal

MANDATORY_WARNING: /bootstrap/onejar/src/com/simontuffs/onejar/Boot.java, line 550: java.security.AccessController in java.security has been deprecated and marked for removal

MANDATORY_WARNING: /bootstrap/onejar/src/com/simontuffs/onejar/Boot.java, line 569: java.security.AccessController in java.security has been deprecated and marked for removal

NOTE: /bootstrap/onejar/src/com/simontuffs/onejar/JarClassLoader.java, line -1: /bootstrap/onejar/src/com/simontuffs/onejar/JarClassLoader.java uses or overrides a deprecated API.

NOTE: /bootstrap/onejar/src/com/simontuffs/onejar/JarClassLoader.java, line -1: Recompile with -Xlint:deprecation for details.

NOTE: /bootstrap/onejar/src/com/simontuffs/onejar/JarClassLoader.java, line -1: Some input files use unchecked or unsafe operations.

NOTE: /bootstrap/onejar/src/com/simontuffs/onejar/JarClassLoader.java, line -1: Recompile with -Xlint:unchecked for details.

Execution error (IllegalArgumentException) at juxt.pack.one-jar/write-jar$fn (one_jar.clj:105).
No matching clause: 

Full report at:
/tmp/clojure-17969522846728305287.edn
Is anybody seeing it too? What changed with the new version?

richiardiandrea20:09:27

This is a problem in one of the libraries I have got. I think I'll create a small patch for having a better error message if something like this happen