<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/tt-bytecode/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/tt-bytecode/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/tt-bytecode/bugs/</id><updated>2001-02-09T18:49:05Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Can't handle arrays as arguments or returns from methods</title><link href="https://sourceforge.net/p/tt-bytecode/bugs/1/" rel="alternate"/><published>2001-02-09T18:49:05Z</published><updated>2001-02-09T18:49:05Z</updated><author><name>Tavis Elliott</name><uri>https://sourceforge.net/u/tavise/</uri></author><id>https://sourceforge.net90fd95fe612af595989dac1021202be09b610979</id><summary type="html">&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;</summary></entry></feed>