Clojure

Providing own ClassLoader for eval is broken

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: Release 1.2, Release 1.3, Release 1.5, Release 1.6
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    Clojure 1.6.0

Description

clojure.lang.Compiler has a method with the signature

public static Object eval(Object form, boolean freshLoader)

but the freshLoader argument is ignored since https://github.com/clojure/clojure/commit/2c2ed386ed0f6f875342721bdaace908e298c7f3

Is there a good reason this still needs to be "hotfixed" like this?

We would like to provide our own ClassLoader for eval to manage the lifecycle of the generated classes.

Activity

Hide
Stuart Halloway added a comment -

This is not part of the public API of Clojure. We would need to understand more about the use case.

Show
Stuart Halloway added a comment - This is not part of the public API of Clojure. We would need to understand more about the use case.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: