<?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: Differences between Java compilers</title>
	<atom:link href="http://dertompson.com/2007/12/27/differences-between-java-compilers/feed/" rel="self" type="application/rss+xml" />
	<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/</link>
	<description>some personal, more technical - by Thomas Einwaller</description>
	<lastBuildDate>Wed, 10 Mar 2010 05:17:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Saua</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-546</link>
		<dc:creator>Saua</dc:creator>
		<pubDate>Mon, 10 Mar 2008 13:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-546</guid>
		<description>An ugly &quot;solution&quot; that compiles in both Eclipse and javac is using two casts:

classes.addAll((Collection&lt;Class&gt;) (Collection) compCheck.getClasses());

This first discards all generic information and then casts to the desired &quot;generified&quot; Collection. Ugly, but at least it compiles in javac.</description>
		<content:encoded><![CDATA[<p>An ugly &#8220;solution&#8221; that compiles in both Eclipse and javac is using two casts:</p>
<p>classes.addAll((Collection&lt;Class&gt;) (Collection) compCheck.getClasses());</p>
<p>This first discards all generic information and then casts to the desired &#8220;generified&#8221; Collection. Ugly, but at least it compiles in javac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tompson</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-451</link>
		<dc:creator>tompson</dc:creator>
		<pubDate>Thu, 10 Jan 2008 20:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-451</guid>
		<description>As Daniel said I have no workaround too. The thing I do is to change my code so that javac is able to deal with it. It should be possible to use the Eclipse compiler inside an ant build but I never tried that.</description>
		<content:encoded><![CDATA[<p>As Daniel said I have no workaround too. The thing I do is to change my code so that javac is able to deal with it. It should be possible to use the Eclipse compiler inside an ant build but I never tried that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-450</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Thu, 10 Jan 2008 14:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-450</guid>
		<description>No real workaround.  The only thing to be done would be to open a bug against javac and hope they fix it eventually.

Actually the Eclipse compiler works great when parsed out from the main IDE.  Tomcat actually uses it to compile JSPs and such because it&#039;s faster and more incremental than javac.</description>
		<content:encoded><![CDATA[<p>No real workaround.  The only thing to be done would be to open a bug against javac and hope they fix it eventually.</p>
<p>Actually the Eclipse compiler works great when parsed out from the main IDE.  Tomcat actually uses it to compile JSPs and such because it&#8217;s faster and more incremental than javac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alaeddin</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-449</link>
		<dc:creator>Alaeddin</dc:creator>
		<pubDate>Thu, 10 Jan 2008 11:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-449</guid>
		<description>is there any workaround suggested other than changing the code? is it a bad idea to think of using eclipse compiler from ant file (i.e. command line like javac)

Thank you</description>
		<content:encoded><![CDATA[<p>is there any workaround suggested other than changing the code? is it a bad idea to think of using eclipse compiler from ant file (i.e. command line like javac)</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tompson</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-441</link>
		<dc:creator>tompson</dc:creator>
		<pubDate>Fri, 04 Jan 2008 09:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-441</guid>
		<description>Thanks for that information Daniel! I too thought that this is an Eclipse bug but reading the bug entry I am pretty sure this is a bug in javac - anyone should file a bug!</description>
		<content:encoded><![CDATA[<p>Thanks for that information Daniel! I too thought that this is an Eclipse bug but reading the bug entry I am pretty sure this is a bug in javac &#8211; anyone should file a bug!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-440</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Thu, 03 Jan 2008 19:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-440</guid>
		<description>It&#039;s actually Sun&#039;s fault.  I ran into this problem a while back and opened a bug against Eclipse first (after all, suspect the third party).  Upon verification, it seems that Eclipse is following the spec more closely than javac does.  https://bugs.eclipse.org/bugs/show_bug.cgi?id=205195

I never got around to putting this in the JDK bug parade, but at least it&#039;s nice to know who&#039;s to blame.</description>
		<content:encoded><![CDATA[<p>It&#8217;s actually Sun&#8217;s fault.  I ran into this problem a while back and opened a bug against Eclipse first (after all, suspect the third party).  Upon verification, it seems that Eclipse is following the spec more closely than javac does.  <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=205195" rel="nofollow">https://bugs.eclipse.org/bugs/show_bug.cgi?id=205195</a></p>
<p>I never got around to putting this in the JDK bug parade, but at least it&#8217;s nice to know who&#8217;s to blame.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonny Madsen</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-439</link>
		<dc:creator>Tonny Madsen</dc:creator>
		<pubDate>Thu, 03 Jan 2008 19:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-439</guid>
		<description>Have anybody found who is to blame here? It would be nice to know...</description>
		<content:encoded><![CDATA[<p>Have anybody found who is to blame here? It would be nice to know&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: narup</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-438</link>
		<dc:creator>narup</dc:creator>
		<pubDate>Thu, 03 Jan 2008 18:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-438</guid>
		<description>Ya it&#039;s just the compiler issue and nothing to do with generics, i also had similar issue.</description>
		<content:encoded><![CDATA[<p>Ya it&#8217;s just the compiler issue and nothing to do with generics, i also had similar issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tompson</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-431</link>
		<dc:creator>tompson</dc:creator>
		<pubDate>Fri, 28 Dec 2007 17:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-431</guid>
		<description>You already sent me this link, very useful site. But this problem has nothing to do with generics themself it seems like this is just a compiler problem.</description>
		<content:encoded><![CDATA[<p>You already sent me this link, very useful site. But this problem has nothing to do with generics themself it seems like this is just a compiler problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://dertompson.com/2007/12/27/differences-between-java-compilers/comment-page-1/#comment-430</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 27 Dec 2007 17:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://dertompson.com/index.php/2007/12/27/differences-between-java-compilers/#comment-430</guid>
		<description>Read this FAQ http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html. I have once listen to one of Angelikas presentations during a Java conference where she referenced to this site. It has helped me a couple of times to understand generics in depth. However I haven&#039;t checked your specific problem to see if it would answer it</description>
		<content:encoded><![CDATA[<p>Read this FAQ <a href="http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html" rel="nofollow">http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html</a>. I have once listen to one of Angelikas presentations during a Java conference where she referenced to this site. It has helped me a couple of times to understand generics in depth. However I haven&#8217;t checked your specific problem to see if it would answer it</p>
]]></content:encoded>
	</item>
</channel>
</rss>
