Clojure

Unable to set compiler options via system properties except for AOT compilation

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: Release 1.5
  • Fix Version/s: Release 1.7
  • Component/s: None
  • Labels:
  • Patch:
    Code
  • Approval:
    Ok

Description

The code that converts JVM system properties into keys under the *compiler-options* var is present only inside the clojure.lang.Compile class. This is a problem when using a debugger inside an IDE and not AOT compiling; specifying -Dclojure.compiler.disable-locals-clearing=true has no effect here when it would be most useful!

Patch: CLJ-1274.patch
Screened by: Stu

Activity

Alex Miller made changes -
Field Original Value New Value
Description The code that converts JVM system properties into keys under the *compiler-options* var is present only inside the clojure.lang.Compile class. This is a problem when using a debugger inside an IDE and not AOT compiling; specifying {{-Dclojure.compiler.disable-locals-clearing=true}} has no effect here when it would be most useful!

The code that converts JVM system properties into keys under the \*compiler-options\* var is present only inside the clojure.lang.Compile class. This is a problem when using a debugger inside an IDE and not AOT compiling; specifying {{-Dclojure.compiler.disable-locals-clearing=true}} has no effect here when it would be most useful!

Howard Lewis Ship made changes -
Attachment CLJ-1274.patch [ 12502 ]
Alex Miller made changes -
Approval Triaged [ 10120 ]
Andy Fingerhut made changes -
Patch Code [ 10001 ]
Alex Miller made changes -
Priority Minor [ 4 ] Major [ 3 ]
Rich Hickey made changes -
Fix Version/s Release 1.7 [ 10250 ]
Approval Triaged [ 10120 ] Vetted [ 10003 ]
Stuart Halloway made changes -
Approval Vetted [ 10003 ] Screened [ 10004 ]
Alex Miller made changes -
Description The code that converts JVM system properties into keys under the \*compiler-options\* var is present only inside the clojure.lang.Compile class. This is a problem when using a debugger inside an IDE and not AOT compiling; specifying {{-Dclojure.compiler.disable-locals-clearing=true}} has no effect here when it would be most useful!

The code that converts JVM system properties into keys under the \*compiler-options\* var is present only inside the clojure.lang.Compile class. This is a problem when using a debugger inside an IDE and not AOT compiling; specifying {{-Dclojure.compiler.disable-locals-clearing=true}} has no effect here when it would be most useful!

*Patch:* CLJ-1274.patch
*Screened by:* Stu
Rich Hickey made changes -
Approval Screened [ 10004 ] Ok [ 10007 ]
Stuart Halloway made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]

People

Vote (3)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: