<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/tt-bytecode/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/tt-bytecode/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 09 Feb 2001 18:49:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tt-bytecode/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Can't handle arrays as arguments or returns from methods</title><link>https://sourceforge.net/p/tt-bytecode/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In com/techtrader/modules/tools/bytecode, the file LowLevelHelper has a method getExternalForm().  If the flag humanReadable is true, then the method is supposed to return a human readable form.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;The following statement needs to be changed:&lt;/p&gt;
&lt;p&gt;if (!humanReadable &amp;amp;amp;&amp;amp;amp; (internalName.startsWith (&amp;amp;quot;[&amp;amp;quot;) ||&lt;br /&gt;
internalName.length () == 1)&lt;br /&gt;
return internalName;&lt;/p&gt;
&lt;p&gt;to:&lt;/p&gt;
&lt;p&gt;if (humanReadable &amp;amp;amp;&amp;amp;amp; (internalName.startsWith (&amp;amp;quot;[&amp;amp;quot;) ||&lt;br /&gt;
internalName.length () == 1)&lt;br /&gt;
return internalName;&lt;/p&gt;
&lt;p&gt;Also, the array handling dies when being used for Class.forName() purposes.  With Java 1.3, Class.forName( &amp;amp;quot;java.lang.Object[]&amp;amp;quot; ) throws a ClassNotFoundException, you actually have to use the human-readable &amp;amp;quot;[Ljava.lang.Object;&amp;amp;quot; form.&lt;/p&gt;
&lt;p&gt;If the rest of the method is also modified to do this, then it works.  (You have to remember to strip the L, ; from non-array references, though)&lt;/p&gt;
&lt;p&gt;-Tavis Elliott&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tavis Elliott</dc:creator><pubDate>Fri, 09 Feb 2001 18:49:05 -0000</pubDate><guid>https://sourceforge.net90fd95fe612af595989dac1021202be09b610979</guid></item></channel></rss>