<!-- 
RSS generated by JIRA (4.4#649-r158309) at Thu May 23 07:37:55 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/CONTRIB-83/CONTRIB-83.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>[CONTRIB-83] clojure.contrib.shell broken with clojure commit 37d8f7a</title>
                <link>http://dev.clojure.org/jira/browse/CONTRIB-83</link>
                <project id="10012" key="CONTRIB">Clojure-Contrib</project>
                        <description>&lt;p&gt;clojure.core/byte was modified a couple weeks ago as follows:&lt;/p&gt;

&lt;p&gt; (defn byte&lt;br/&gt;
  &quot;Coerce to byte&quot;&lt;br/&gt;
  {:tag Byte&lt;br/&gt;
   :inline (fn  &lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt; `(. clojure.lang.RT (byteCast ~x)))}&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;^Number x&amp;#93;&lt;/span&gt; (. x (byteValue)))&lt;br/&gt;
+  &lt;span class=&quot;error&quot;&gt;&amp;#91;^Number x&amp;#93;&lt;/span&gt; (clojure.lang.RT/byteCast x))&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;byteValue and byteCast behave differently with values outside the&lt;br/&gt;
range of byte values:&lt;br/&gt;
user=&amp;gt; (. 255 (byteValue))&lt;br/&gt;
-1&lt;br/&gt;
user=&amp;gt; (clojure.lang.RT/byteCast 255)&lt;br/&gt;
java.lang.IllegalArgumentException: Value out of range for byte: 255&lt;br/&gt;
(NO_SOURCE_FILE:0)&lt;/p&gt;

&lt;p&gt;The new version breaks clojure.contrib.shell/sh&apos;s :out :bytes mode (mapping byte over values returned by InputStream.read in shell.clj, line 125).&lt;br/&gt;
Perhaps have sh use #(.byteValue %) instead of byte? (untested)&lt;/p&gt;</description>
                <environment></environment>
            <key id="14243">CONTRIB-83</key>
            <summary>clojure.contrib.shell broken with clojure commit 37d8f7a</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="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="importer">Assembla Importer</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 May 2010 09:36:00 -0500</created>
                <updated>Sat, 8 Jan 2011 13:58:47 -0600</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="25818" author="importer" created="Tue, 24 Aug 2010 11:01:00 -0500"  >&lt;p&gt;Converted from &lt;a href=&quot;http://www.assembla.com/spaces/clojure/tickets/83&quot;&gt;http://www.assembla.com/spaces/clojure/tickets/83&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="26109" author="arohner" created="Sat, 8 Jan 2011 13:58:47 -0600"  >&lt;p&gt;I&apos;ve tested that using #(.byteValue %) rather than byte? fixes the problem.&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>