Skip to content

Conversation

@arohner
Copy link
Contributor

@arohner arohner commented Nov 14, 2025

Bug fixes following from #70 . We don't need to with-context-classloader inside compile.clj, because the call in jar.clj is sufficient.

@arohner arohner force-pushed the speed branch 3 times, most recently from 3f1e5cc to 1581596 Compare November 14, 2025 22:27
@arohner arohner force-pushed the speed branch 18 times, most recently from cf12fe4 to 13af45b Compare November 25, 2025 22:48
Copy link

@miridius miridius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines 266 to 267
(fn
([]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: unnecessary paren

Suggested change
(fn
([]
(fn []

(mapv (fn [[d *f]]
(when (= :timeout (deref *f 30000 :timeout))
(throw (ex-info (print-str "timeout in" ns "waiting for" d) {:dep d}))))))
(mapv deref))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you want to use deref! here?

Comment on lines 542 to 543

(comment "text here to force rebuilding - 2")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover debug?

@arohner arohner merged commit c805dac into main Nov 26, 2025
1 check passed
@arohner arohner mentioned this pull request Dec 2, 2025
arohner added a commit that referenced this pull request Dec 2, 2025
- When determining whether two classloaders are compatible?, also check for java class names, not just clj namespaces. This identifies JarHell as a major source of compile errors and non-determinism
- gen_build: Make clojure_library targets depend on clojure.core.specs.alpha rather than clojure.core. This fixes a bug where clojure.core.specs.alpha gets compiled into user jars, causing false positives in compatibility checks.
- minor comments and code golfing
arohner added a commit that referenced this pull request Dec 2, 2025
- When determining whether two classloaders are compatible?, also check for java class names, not just clj namespaces. This identifies JarHell as a major source of compile errors and non-determinism
- gen_build: Make clojure_library targets depend on clojure.core.specs.alpha rather than clojure.core. This fixes a bug where clojure.core.specs.alpha gets compiled into user jars, causing false positives in compatibility checks.
- minor comments and code golfing
arohner added a commit that referenced this pull request Dec 3, 2025
- When determining whether two classloaders are compatible?, also check for java class names, not just clj namespaces. This identifies JarHell as a major source of compile errors and non-determinism
- gen_build: Make clojure_library targets depend on clojure.core.specs.alpha rather than clojure.core. This fixes a bug where clojure.core.specs.alpha gets compiled into user jars, causing false positives in compatibility checks.
- minor comments and code golfing
arohner added a commit that referenced this pull request Dec 3, 2025
- When determining whether two classloaders are compatible?, also check for java class names, not just clj namespaces. This identifies JarHell as a major source of compile errors and non-determinism
- gen_build: Make clojure_library targets depend on clojure.core.specs.alpha rather than clojure.core. This fixes a bug where clojure.core.specs.alpha gets compiled into user jars, causing false positives in compatibility checks.
- minor comments and code golfing
arohner added a commit that referenced this pull request Dec 3, 2025
- When determining whether two classloaders are compatible?, also check for java class names, not just clj namespaces. This identifies JarHell as a major source of compile errors and non-determinism
- gen_build: Make clojure_library targets depend on clojure.core.specs.alpha rather than clojure.core. This fixes a bug where clojure.core.specs.alpha gets compiled into user jars, causing false positives in compatibility checks.
- minor comments and code golfing
arohner added a commit that referenced this pull request Dec 3, 2025
- When determining whether two classloaders are compatible?, also check for java class names, not just clj namespaces. This identifies JarHell as a major source of compile errors and non-determinism
- gen_build: Make clojure_library targets depend on clojure.core.specs.alpha rather than clojure.core. This fixes a bug where clojure.core.specs.alpha gets compiled into user jars, causing false positives in compatibility checks.
- minor comments and code golfing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants