Prevent reflection in clojure.data namespace, make compatible with GraalVM

Description

When adding clojure.data/diff to babashka I hit some reflection warnings in the clojure.data namespace which made it incompatible with GraalVM native-image. Getting rid of those is fairly trivial and makes it work with GraalVM. Patch is coming up.

Patch: clj-2572-2.patch
Screened by: Alex Miller

Environment

None

Activity

Show:
Alex Miller
May 31, 2020, 9:53 PM

I don't think you need the ^Object on b right? Otherwise looks good.

Michiel Borkent
May 31, 2020, 10:00 PM

Removed the type hint on b.

Alex Miller
August 28, 2020, 3:21 PM

Patch applied for 1.10.2

Fixed

Assignee

Unassigned

Reporter

Michiel Borkent

Labels

Approval

Ok

Patch

Code

Fix versions

Priority

Major
Configure