Fork me on GitHub
#babashka
<
2021-07-09
>
bherrmann19:07:06

Humm.... not allowed...

user=> (bean (.info (first (iterator-seq (.iterator (java.lang.ProcessHandle/allProcesses))))))
{:class java.lang.ProcessHandleImpl$Info}
user=> (.command (.info (first (iterator-seq (.iterator (java.lang.ProcessHandle/allProcesses))))))
Method command on class java.lang.ProcessHandleImpl$Info not allowed! [at <repl>:10:11]

borkdude19:07:05

@bherrmann which version is this?

borkdude19:07:12

I think I added support for that recently

bherrmann19:07:29

Babashka v0.4.1 REPL.

borkdude19:07:37

or wait, 0.4.6 already

bherrmann19:07:13

yup, it fixes it.

wilkerlucio23:07:19

hello, what do you use for date formatting in Babashka? I tried via java.text.SimpleDateFormat but it says it can't resolve the classname, is there an alternative?