Add interop on java.util.stream.IntStream (#1625)
This commit is contained in:
parent
c2c7053120
commit
bc5e6b6d52
4 changed files with 9 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ A preview of the next release can be installed from
|
||||||
- Bump babashka.http-client to v0.4.15
|
- Bump babashka.http-client to v0.4.15
|
||||||
- Bump rewrite-clj to v0.1.1.47
|
- Bump rewrite-clj to v0.1.1.47
|
||||||
- [#1619](https://github.com/babashka/babashka/issues/1619): Fix reflection issue with `Thread/sleep` in `core.async/timeout`
|
- [#1619](https://github.com/babashka/babashka/issues/1619): Fix reflection issue with `Thread/sleep` in `core.async/timeout`
|
||||||
|
- Support interop on `java.util.stream.IntStream`
|
||||||
|
|
||||||
## 1.3.184 (2023-08-22)
|
## 1.3.184 (2023-08-22)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
org.clojure/core.async {:mvn/version "1.6.673"},
|
org.clojure/core.async {:mvn/version "1.6.673"},
|
||||||
org.clojure/tools.cli {:mvn/version "1.0.214"},
|
org.clojure/tools.cli {:mvn/version "1.0.214"},
|
||||||
org.clojure/data.csv {:mvn/version "1.0.0"},
|
org.clojure/data.csv {:mvn/version "1.0.0"},
|
||||||
cheshire/cheshire {:mvn/version "5.11.0"}
|
cheshire/cheshire {:mvn/version "5.12.0"}
|
||||||
org.clojure/data.xml {:mvn/version "0.2.0-alpha8"}
|
org.clojure/data.xml {:mvn/version "0.2.0-alpha8"}
|
||||||
clj-commons/clj-yaml {:mvn/version "1.0.27"}
|
clj-commons/clj-yaml {:mvn/version "1.0.27"}
|
||||||
com.cognitect/transit-clj {:mvn/version "1.0.333"}
|
com.cognitect/transit-clj {:mvn/version "1.0.333"}
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
babashka/clojure-lanterna {:mvn/version "0.9.8-SNAPSHOT"}
|
babashka/clojure-lanterna {:mvn/version "0.9.8-SNAPSHOT"}
|
||||||
org.clojure/core.match {:mvn/version "1.0.0"}
|
org.clojure/core.match {:mvn/version "1.0.0"}
|
||||||
hiccup/hiccup {:mvn/version "2.0.0-RC1"}
|
hiccup/hiccup {:mvn/version "2.0.0-RC1"}
|
||||||
rewrite-clj/rewrite-clj {:mvn/version "1.1.46"}
|
rewrite-clj/rewrite-clj {:mvn/version "1.1.47"}
|
||||||
selmer/selmer {:mvn/version "1.12.59"}
|
selmer/selmer {:mvn/version "1.12.59"}
|
||||||
com.taoensso/timbre {:mvn/version "6.0.1"}
|
com.taoensso/timbre {:mvn/version "6.0.1"}
|
||||||
org.clojure/tools.logging {:mvn/version "1.1.0"}
|
org.clojure/tools.logging {:mvn/version "1.1.0"}
|
||||||
|
|
|
||||||
|
|
@ -481,6 +481,7 @@
|
||||||
java.util.jar.Manifest
|
java.util.jar.Manifest
|
||||||
java.util.stream.BaseStream
|
java.util.stream.BaseStream
|
||||||
java.util.stream.Stream
|
java.util.stream.Stream
|
||||||
|
java.util.stream.IntStream
|
||||||
java.util.Random
|
java.util.Random
|
||||||
java.util.regex.Matcher
|
java.util.regex.Matcher
|
||||||
java.util.regex.Pattern
|
java.util.regex.Pattern
|
||||||
|
|
@ -666,6 +667,8 @@
|
||||||
java.nio.file.FileSystem
|
java.nio.file.FileSystem
|
||||||
(instance? java.nio.file.PathMatcher v)
|
(instance? java.nio.file.PathMatcher v)
|
||||||
java.nio.file.PathMatcher
|
java.nio.file.PathMatcher
|
||||||
|
(instance? java.util.stream.IntStream v)
|
||||||
|
java.util.stream.IntStream
|
||||||
(instance? java.util.stream.BaseStream v)
|
(instance? java.util.stream.BaseStream v)
|
||||||
java.util.stream.BaseStream
|
java.util.stream.BaseStream
|
||||||
(instance? java.nio.ByteBuffer v)
|
(instance? java.nio.ByteBuffer v)
|
||||||
|
|
|
||||||
|
|
@ -41,3 +41,6 @@
|
||||||
(def cert (x509-certificate (io/file \"test-resources/certificate.crt\")))
|
(def cert (x509-certificate (io/file \"test-resources/certificate.crt\")))
|
||||||
(some? (.getSubjectX500Principal cert))
|
(some? (.getSubjectX500Principal cert))
|
||||||
"))))
|
"))))
|
||||||
|
|
||||||
|
(deftest IntStream-test
|
||||||
|
(is (= 5 (bb nil "(.count (.codePoints \"woof🐕\"))"))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue