<!--
RSS generated by JIRA (4.4#649-r158309) at Thu May 23 05:53:17 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+NREPL+AND+fixVersion+%3D+%220.2.0-RC1%22&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://dev.clojure.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Clojure JIRA</title>
        <link>http://dev.clojure.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+NREPL+AND+fixVersion+%3D+%220.2.0-RC1%22</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="3" total="3"/>
                <build-info>
            <version>4.4</version>
            <build-number>649</build-number>
            <build-date>25-07-2011</build-date>
        </build-info>
<item>
            <title>[NREPL-34] Default load-file middleware cannot load large files due to JVM method size limitations</title>
                <link>http://dev.clojure.org/jira/browse/NREPL-34</link>
                <project id="10022" key="NREPL">tools.nrepl</project>
                        <description>&lt;p&gt;Simply interpolating contents of files to be loaded into a &lt;tt&gt;Compiler/load&lt;/tt&gt; expression to be evaluated does not work with very large files.  (See &lt;a href=&quot;http://code.google.com/p/counterclockwise/issues/detail?id=429&quot;&gt;http://code.google.com/p/counterclockwise/issues/detail?id=429&lt;/a&gt;)&lt;/p&gt;</description>
                <environment></environment>
            <key id="15745">NREPL-34</key>
            <summary>Default load-file middleware cannot load large files due to JVM method size limitations</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="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="cemerick">Chas Emerick</assignee>
                                <reporter username="cemerick">Chas Emerick</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Oct 2012 23:28:01 -0500</created>
                <updated>Thu, 11 Oct 2012 23:34:44 -0500</updated>
                    <resolved>Thu, 11 Oct 2012 23:34:44 -0500</resolved>
                            <version>0.2.0-beta10</version>
                                <fixVersion>0.2.0-RC1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="29638" author="cemerick" created="Thu, 11 Oct 2012 23:34:44 -0500"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://github.com/clojure/tools.nrepl/commit/77cb7d2347b0a78094ea32d7757aa3e3662fc634&quot;&gt;https://github.com/clojure/tools.nrepl/commit/77cb7d2347b0a78094ea32d7757aa3e3662fc634&lt;/a&gt;&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>

<item>
            <title>[NREPL-31] REPL utilities are refered into *ns* prior to every expression evaluation</title>
                <link>http://dev.clojure.org/jira/browse/NREPL-31</link>
                <project id="10022" key="NREPL">tools.nrepl</project>
                        <description>&lt;p&gt;The refers of REPL utilities (&lt;tt&gt;pst&lt;/tt&gt;, &lt;tt&gt;pprint&lt;/tt&gt;, etc) happens in &lt;tt&gt;clojure.main/repl&lt;/tt&gt;.  In a terminal/single-threaded REPL, this is called just once, so it only ever affects the &lt;tt&gt;user&lt;/tt&gt; namespace.  Every expression sent for evaluation by nREPL invokes &lt;tt&gt;clojure.main/repl&lt;/tt&gt; though, so moving &lt;tt&gt;&amp;#42;ns&amp;#42;&lt;/tt&gt; around will inadvertently cause those refers to happen over and over, into non-&lt;tt&gt;user&lt;/tt&gt; namespaces.  (I&apos;ve been enjoying having &lt;tt&gt;pprint&lt;/tt&gt; and &lt;tt&gt;pp&lt;/tt&gt; available all the time, but I&apos;d never thought much about why they were always there.)&lt;/p&gt;

&lt;p&gt;In the end, this is an nREPL bug.&lt;/p&gt;

&lt;p&gt;I don&apos;t see any easy way out off the top of my head.  I think nREPL will end up having to stop using &lt;tt&gt;clojure.main/repl&lt;/tt&gt;, and maintain a modified version of it itself (something I wanted to avoid exactly so as to benefit from the changes to &lt;tt&gt;clojure.main/repl&lt;/tt&gt; from version to version of Clojure).&lt;/p&gt;

&lt;p&gt;Suggestions most welcome.&lt;/p&gt;

&lt;p&gt;(Originally reported &lt;a href=&quot;http://code.google.com/p/counterclockwise/issues/detail?id=443&quot;&gt;here&lt;/a&gt;.)&lt;/p&gt;</description>
                <environment></environment>
            <key id="15731">NREPL-31</key>
            <summary>REPL utilities are refered into *ns* prior to every expression evaluation</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="2" iconUrl="http://dev.clojure.org/jira/images/icons/priority_critical.gif">Critical</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="cemerick">Chas Emerick</assignee>
                                <reporter username="cemerick">Chas Emerick</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Oct 2012 15:51:26 -0500</created>
                <updated>Mon, 22 Oct 2012 20:01:40 -0500</updated>
                    <resolved>Mon, 22 Oct 2012 20:01:40 -0500</resolved>
                            <version>0.2.0-beta9</version>
                                <fixVersion>0.2.0</fixVersion>
                <fixVersion>0.2.0-RC1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="29635" author="cemerick" created="Thu, 11 Oct 2012 14:10:12 -0500"  >&lt;p&gt;Hopefully &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-1085&quot; title=&quot;clojure.main/repl unconditionally refers REPL utilities into *ns*&quot;&gt;&lt;del&gt;CLJ-1085&lt;/del&gt;&lt;/a&gt; is resolved and this can drop off.  In the meantime, not going to hold off -beta10 for it or this.&lt;/p&gt;</comment>
                    <comment id="29770" author="cemerick" created="Mon, 22 Oct 2012 20:01:40 -0500"  >&lt;p&gt;Fixed upstream in &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-1085&quot; title=&quot;clojure.main/repl unconditionally refers REPL utilities into *ns*&quot;&gt;&lt;del&gt;CLJ-1085&lt;/del&gt;&lt;/a&gt;.  Note that this issue will continue to affect those using Clojure &amp;lt; 1.5.0.&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>

<item>
            <title>[NREPL-10] SocketExceptions on transport/bencode when the other end has gone away</title>
                <link>http://dev.clojure.org/jira/browse/NREPL-10</link>
                <project id="10022" key="NREPL">tools.nrepl</project>
                        <description>&lt;p&gt;When running the tests, I&apos;m occasionally getting SocketExceptions (which don&apos;t fail the test suite) with the message &quot;Broken pipe&quot;. I think these stem from one end of the nREPL socket trying to write to the socket after the other end has gone away. &lt;/p&gt;

&lt;p&gt;There&apos;s an existing test (ensure-closeable) that explicitly expects a SocketException to be raised if the socket has had .close called directly on it, rather than having the other end hang up, which I think is what the &quot;Broken pipe&quot; tells us. I&apos;m curious as to whether this is important for some reason I haven&apos;t seen, or whether catching all SocketExceptions on transport/bencode&apos;s write function and returning nil would be appropriate. &lt;/p&gt;

&lt;p&gt;If the end doing the socket closing actually should affect the behavior, we could sniff the exception message, but that feels a bit yucky.&lt;/p&gt;

&lt;p&gt;I can actually reproduce this in &quot;real life&quot; by firing up an nREPL server / client (`reply --nrepl --port 9999`), then attaching to it (`reply --nrepl --attach 9999`), and in the attached client, run (Thread/sleep 10000) and immediately kill the process. Then the &quot;Broken pipe&quot; exception shows up in the original REPL with the server in the same process.&lt;/p&gt;

&lt;p&gt;I&apos;ve got a patch for this in my bitbucket fork (socket-exception branch): &lt;a href=&quot;https://bitbucket.org/trptcolin/nrepl/changeset/4a432f3ce95a&quot;&gt;https://bitbucket.org/trptcolin/nrepl/changeset/4a432f3ce95a&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="15232">NREPL-10</key>
            <summary>SocketExceptions on transport/bencode when the other end has gone away</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="cemerick">Chas Emerick</assignee>
                                <reporter username="trptcolin">Colin Jones</reporter>
                        <labels>
                    </labels>
                <created>Sun, 19 Feb 2012 15:34:36 -0600</created>
                <updated>Fri, 12 Oct 2012 00:51:13 -0500</updated>
                    <resolved>Fri, 12 Oct 2012 00:51:13 -0500</resolved>
                                            <fixVersion>0.2.0</fixVersion>
                <fixVersion>0.2.0-RC1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="27790" author="cemerick" created="Tue, 21 Feb 2012 05:35:05 -0600"  >&lt;p&gt;What do we really want to happen when a &lt;tt&gt;SocketException&lt;/tt&gt; (or really, any error) occurs?&lt;/p&gt;

&lt;p&gt;I&apos;m all for better error handling/reporting, but it shouldn&apos;t obfuscate what&apos;s going wrong.  Catching and squelching isn&apos;t doing anyone any favors.  That could be particularly confusing if done at the transport level. &quot;You mean all the messages I&apos;ve been sending have been dropped on the floor silently, and I was supposed to be checking for a &lt;tt&gt;nil&lt;/tt&gt; return?&quot;&lt;/p&gt;</comment>
                    <comment id="27877" author="trptcolin" created="Sun, 26 Feb 2012 12:46:53 -0600"  >&lt;p&gt;Yeah, you&apos;re right. Although, isn&apos;t checking for a nil return already necessary to account for timeouts?&lt;/p&gt;

&lt;p&gt;What about having a server-side transport error handler that&apos;s rebindable, and re-throws by default? Or maybe we could collect errors somewhere, similar to what clojure.core/agent-error does.&lt;/p&gt;

&lt;p&gt;The more I think about it, the less important this seems, though - mainly an annoyance when running tests.&lt;/p&gt;</comment>
                    <comment id="29639" author="cemerick" created="Fri, 12 Oct 2012 00:51:13 -0500"  >&lt;p&gt;Was simply a disconnection stacktrace due to a client closing up prior to an evaluation response being written to the transport.&lt;/p&gt;

&lt;p&gt;Fixed in &lt;a href=&quot;https://github.com/clojure/tools.nrepl/commit/2d90bdd4fe14298bbfcaab52ecdea48781c71604&quot;&gt;https://github.com/clojure/tools.nrepl/commit/2d90bdd4fe14298bbfcaab52ecdea48781c71604&lt;/a&gt;&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>