Fork me on GitHub
#tools-deps
<
2022-11-19
>
Alex Miller (Clojure team)04:11:38

would it be wrong if I just automatically set -XX:-OmitStackTraceInFastThrow for every CLI call? omg, worst default setting ever

seancorfield04:11:33

Hahaha... yeah, I have that in almost every :jvm-opts everywhere! And you could put it in JDK_JAVA_OPTIONS env var (JDK 14+).

Alex Miller (Clojure team)04:11:52

but if you do that it nags at you on every startup:

Alex Miller (Clojure team)04:11:55

NOTE: Picked up JDK_JAVA_OPTIONS: -XX:-OmitStackTraceInFastThrow

seancorfield04:11:22

Oh, I did not know that -- hey @hiredman did you know the JDK warns you about that env var?

Alex Miller (Clojure team)04:11:03

if we set it first in the command, you could even override it if you needed to I believe