<!-- 
RSS generated by JIRA (4.4#649-r158309) at Mon May 20 00:05:53 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJ-961/CLJ-961.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJ-961] with-redefs loses a Var&apos;s root binding if the Var is thread-bound</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-961</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;When a Var has an in-thread binding and I use with-redefs to temporarily alter its root binding, the value restored to the root binding after with-redefs is finished will not be the original root value, but the thread-local one. The problem is using deref instead of something like clojure.lang.Var&apos;s .getRawRoot to backup the original root values in with-derefs-fn.&lt;/p&gt;

&lt;p&gt;I have never used with-redefs and it is very unlikely that one would use it while the Vars in question are thread-bound. However, when reading the function&apos;s definition in Joy of Clojure and later in core.clj, I did not believe this behaviour was intended.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15303">CLJ-961</key>
            <summary>with-redefs loses a Var&apos;s root binding if the Var is thread-bound</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="5" iconUrl="http://dev.clojure.org/jira/images/icons/priority_trivial.gif">Trivial</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="richhickey">Rich Hickey</assignee>
                                <reporter username="jirkamarsik">Ji&#345;&#237; Mar&#353;&#237;k</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Mar 2012 11:05:29 -0500</created>
                <updated>Fri, 20 Jul 2012 16:44:41 -0500</updated>
                    <resolved>Fri, 20 Jul 2012 16:44:41 -0500</resolved>
                            <version>Release 1.3</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="28970" author="aaron" created="Tue, 10 Jul 2012 18:53:57 -0500"  >&lt;p&gt;I paired with Gary on this and tested the patch on my machine after it was uploaded.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11375" name="0001-with-redefs-saves-root-binding-instead-of-thread-loc.patch" size="1507" author="gfredericks" created="Tue, 10 Jul 2012 18:47:20 -0500" />
                    <attachment id="11020" name="with_redefs_bug.clj" size="100" author="jirkamarsik" created="Wed, 28 Mar 2012 11:05:29 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Approval</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10007">Ok</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10002">Code and Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>