[CLJ-1208] Namespace is not loaded on defrecord class init Created: 03/May/13 Updated: 06/Oct/14
|Fix Version/s:||Release 1.8|
As a user of Clojure interop from Java, I want defrecords (and deftypes?) to load their namespaces upon class initialization so that I can simply construct and use AOT'd record classes without manually requiring their namespaces first.
Calling the defrecord's constructor may or may not result in "Attempting to call unbound fn" exceptions, depending on what code has already been run.
This issue has been raised several times over the years, but I could not find an existing ticket for it: