<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JDK 1.5: Arrays.asList(&#8221;Rod&#8221;, &#8220;James&#8221;, &#8220;Chris&#8221;)</title>
	<atom:link href="http://almaer.com/blog/jdk-15-arraysaslistrod-james-chris/feed" rel="self" type="application/rss+xml" />
	<link>http://almaer.com/blog/jdk-15-arraysaslistrod-james-chris</link>
	<description>blogging about life, the universe, and everything tech</description>
	<lastBuildDate>Sat, 08 Sep 2012 07:06:53 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dion</title>
		<link>http://almaer.com/blog/jdk-15-arraysaslistrod-james-chris/comment-page-1#comment-5727</link>
		<dc:creator>Dion</dc:creator>
		<pubDate>Sat, 07 Aug 2004 02:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/jdk-15-arraysaslistrod-james-chris#comment-5727</guid>
		<description>I had my JAVA_HOME pointing to the first beta (duh). It works like a charm on beta2.

Thanks.
</description>
		<content:encoded><![CDATA[<p>I had my JAVA_HOME pointing to the first beta (duh). It works like a charm on beta2.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion</title>
		<link>http://almaer.com/blog/jdk-15-arraysaslistrod-james-chris/comment-page-1#comment-5726</link>
		<dc:creator>Dion</dc:creator>
		<pubDate>Sat, 07 Aug 2004 00:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/jdk-15-arraysaslistrod-james-chris#comment-5726</guid>
		<description>That is freaking out for me on 1.5 (build 1.5.0-beta-b32c).

It is happy with:

List list = Arrays.asList(new String[] {&quot;Rod&quot;, &quot;James&quot;, &quot;Chris&quot;});

but some reason it isn&#039;t liking the varargs case.

AsListTest.java:10: asList(T[]) in java.util.Arrays cannot be applied to (jav
a.lang.String,java.lang.String,java.lang.String); no instance(s) of type variabl
e(s) T exist so that argument type java.lang.String conforms to formal parameter
type T[]
List list = Arrays.asList(&quot;Rod&quot;, &quot;James&quot;, &quot;Chris&quot;);

D
</description>
		<content:encoded><![CDATA[<p>That is freaking out for me on 1.5 (build 1.5.0-beta-b32c).</p>
<p>It is happy with:</p>
<p>List list = Arrays.asList(new String[] {&#8221;Rod&#8221;, &#8220;James&#8221;, &#8220;Chris&#8221;});</p>
<p>but some reason it isn&#8217;t liking the varargs case.</p>
<p>AsListTest.java:10: asList(T[]) in java.util.Arrays cannot be applied to (jav<br />
a.lang.String,java.lang.String,java.lang.String); no instance(s) of type variabl<br />
e(s) T exist so that argument type java.lang.String conforms to formal parameter<br />
type T[]<br />
List list = Arrays.asList(&#8221;Rod&#8221;, &#8220;James&#8221;, &#8220;Chris&#8221;);</p>
<p>D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Euxx</title>
		<link>http://almaer.com/blog/jdk-15-arraysaslistrod-james-chris/comment-page-1#comment-5728</link>
		<dc:creator>Euxx</dc:creator>
		<pubDate>Sat, 07 Aug 2004 00:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/jdk-15-arraysaslistrod-james-chris#comment-5728</guid>
		<description>&lt;strong&gt;There is still a lot to learn about java.util package.&lt;/strong&gt;

Dion  is copying  a collection example from James Groovy presentation:


List list = new java.util.ArrayList();
list.add( &quot;Rod&quot; ); list.add( &quot;James&quot; ); list.add( &quot;Chris&quot; );


In the contexts where James used it it is probably does not matters
</description>
		<content:encoded><![CDATA[<p><strong>There is still a lot to learn about java.util package.</strong></p>
<p>Dion  is copying  a collection example from James Groovy presentation:</p>
<p>List list = new java.util.ArrayList();<br />
list.add( &#8220;Rod&#8221; ); list.add( &#8220;James&#8221; ); list.add( &#8220;Chris&#8221; );</p>
<p>In the contexts where James used it it is probably does not matters</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://almaer.com/blog/jdk-15-arraysaslistrod-james-chris/comment-page-1#comment-5725</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Sat, 07 Aug 2004 00:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/jdk-15-arraysaslistrod-james-chris#comment-5725</guid>
		<description>Or maybe:

List&lt;String&gt; list = Arrays.asList&lt;String&gt;(&quot;Rod&quot;, &quot;James&quot;, &quot;Chris&quot;);

I hope I got that right... haven&#039;t messed with generic functions in 1.5, and I don&#039;t have 1.5 at hand to try it out :-)

And yes, I still call it &quot;1.5&quot;.
</description>
		<content:encoded><![CDATA[<p>Or maybe:</p>
<p>List&lt;String&gt; list = Arrays.asList&lt;String&gt;(&#8221;Rod&#8221;, &#8220;James&#8221;, &#8220;Chris&#8221;);</p>
<p>I hope I got that right&#8230; haven&#8217;t messed with generic functions in 1.5, and I don&#8217;t have 1.5 at hand to try it out :-)</p>
<p>And yes, I still call it &#8220;1.5&#8243;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
