<?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: explain this</title>
	<atom:link href="http://sworddance.com/blog/2007/08/13/explain-this/feed/" rel="self" type="application/rss+xml" />
	<link>http://sworddance.com/blog/2007/08/13/explain-this/#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=explain-this</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 04:36:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Woot! I crashed the javac &#171; Just wondering&#8230;.</title>
		<link>http://sworddance.com/blog/2007/08/13/explain-this/comment-page-1/#comment-16593</link>
		<dc:creator>Woot! I crashed the javac &#171; Just wondering&#8230;.</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2007/08/13/explain-this/#comment-16593</guid>
		<description>[...] again (and again) the eclipse compiler is more robust than the sun [...]</description>
		<content:encoded><![CDATA[<p>[...] again (and again) the eclipse compiler is more robust than the sun [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Generic annoyances in java &#171; Just wondering&#8230;.</title>
		<link>http://sworddance.com/blog/2007/08/13/explain-this/comment-page-1/#comment-16591</link>
		<dc:creator>Generic annoyances in java &#171; Just wondering&#8230;.</dc:creator>
		<pubDate>Thu, 07 Jan 2010 01:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2007/08/13/explain-this/#comment-16591</guid>
		<description>[...] This compiles just fine in eclipse, but once again sun&#8217;s javac is temperamental. [...]</description>
		<content:encoded><![CDATA[<p>[...] This compiles just fine in eclipse, but once again sun&#8217;s javac is temperamental. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arman Sharif</title>
		<link>http://sworddance.com/blog/2007/08/13/explain-this/comment-page-1/#comment-12433</link>
		<dc:creator>Arman Sharif</dc:creator>
		<pubDate>Sat, 19 Jan 2008 21:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2007/08/13/explain-this/#comment-12433</guid>
		<description>I had a similar problem where I also used casting as a workaround. There&#039;s another side to this problem though related to autoboxing. 

For example, if T is an Integer, the following code will compile in eclipse but fail with javac

int result = getFoo();

The error message from javac is &quot;type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds int,java.lang.Object&quot;

The only way to get the above code building with both is to give up autoboxing completely:

Integer result = getFoo();

This was using Eclipse 3.3.1.1 and java 5 (1.5.0_14-b03).</description>
		<content:encoded><![CDATA[<p>I had a similar problem where I also used casting as a workaround. There&#8217;s another side to this problem though related to autoboxing. </p>
<p>For example, if T is an Integer, the following code will compile in eclipse but fail with javac</p>
<p>int result = getFoo();</p>
<p>The error message from javac is &#8220;type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds int,java.lang.Object&#8221;</p>
<p>The only way to get the above code building with both is to give up autoboxing completely:</p>
<p>Integer result = getFoo();</p>
<p>This was using Eclipse 3.3.1.1 and java 5 (1.5.0_14-b03).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clemens Renner</title>
		<link>http://sworddance.com/blog/2007/08/13/explain-this/comment-page-1/#comment-10907</link>
		<dc:creator>Clemens Renner</dc:creator>
		<pubDate>Mon, 03 Dec 2007 12:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sworddance.com/blog/2007/08/13/explain-this/#comment-10907</guid>
		<description>Thanks a lot for the post. It saved our day debugging the migration to Maven with a few projects.

IMHO this is just another hint at how badly generics have been implemented in Java.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the post. It saved our day debugging the migration to Maven with a few projects.</p>
<p>IMHO this is just another hint at how badly generics have been implemented in Java.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

