<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed Jun 19 23:53:08 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/CLJCLR-5/CLJCLR-5.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>[CLJCLR-5] Global vars set! by the init script is reset to original state by Clojure.Main.exe</title>
                <link>http://dev.clojure.org/jira/browse/CLJCLR-5</link>
                <project id="10173" key="CLJCLR">ClojureCLR</project>
                        <description>&lt;p&gt;I start the repl and run my ClojureCLR as follows:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Clojure.Main.exe -i initscript -r&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Clojure.Main.exe -i initscript -m foo.core&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The file &lt;em&gt;initscript&lt;/em&gt; looks like this:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(set! *warn-on-reflection* &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The value set in the &lt;em&gt;initscript&lt;/em&gt; is not carried over to the &lt;em&gt;repl&lt;/em&gt; or &lt;em&gt;run&lt;/em&gt; session. When I embed the line &lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(set! *warn-on-reflection* &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; into the target Clojure file, the newly set value is recognized.&lt;/p&gt;</description>
                <environment>.NET 4.0 Clojure 1.4.0 on Windows 7</environment>
            <key id="15895">CLJCLR-5</key>
            <summary>Global vars set! by the init script is reset to original state by Clojure.Main.exe</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="dmiller">David Miller</assignee>
                                <reporter username="kumarshantanu">Shantanu Kumar</reporter>
                        <labels>
                    </labels>
                <created>Sun, 16 Dec 2012 05:26:00 -0600</created>
                <updated>Tue, 12 Mar 2013 08:36:35 -0500</updated>
                    <resolved>Tue, 12 Mar 2013 08:36:35 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="30741" author="dmiller" created="Tue, 12 Mar 2013 08:36:35 -0500"  >&lt;p&gt;This behavior comes from the JVM version of Clojure.  Request for change should happen there.&lt;/p&gt;

&lt;p&gt;This happens because the initialization is done by a call to Compiler.loadFile, which calls Compiler.load which establishes its own binding for &lt;b&gt;warn-on-reflection&lt;/b&gt;, that binding disappearing when the initialization is complete.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>