<?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: Groovy: java.lang.StackOverflowError When Implementing equals()	</title>
	<atom:link href="https://myshittycode.com/2013/10/29/groovy-java-lang-stackoverflowerror-when-implementing-equals/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com/2013/10/29/groovy-java-lang-stackoverflowerror-when-implementing-equals/</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Fri, 06 Jan 2023 17:21:08 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>
		By: selimok		</title>
		<link>https://myshittycode.com/2013/10/29/groovy-java-lang-stackoverflowerror-when-implementing-equals/#comment-34</link>

		<dc:creator><![CDATA[selimok]]></dc:creator>
		<pubDate>Tue, 25 Aug 2015 12:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://myshittycode.com/?p=215#comment-34</guid>

					<description><![CDATA[Thank you for your blog entry. It inspired me to finding solution for my problem. 

I got the same StackOverflowError while calling hashCode of my entity class. I used guava Objects&#039; hashCode implementation. The hashCode method itself is generated by eclipse guava plugin and the method call includes a class member which is recursively reference the class itself again. In this case hashCode implementation go through this cyclic dependency and calls again and again itself. So I learned, i must be careful using auto generated hashCode or toString methods, especially by entity objects which reference another object with reference back to this entity.]]></description>
			<content:encoded><![CDATA[<p>Thank you for your blog entry. It inspired me to finding solution for my problem. </p>
<p>I got the same StackOverflowError while calling hashCode of my entity class. I used guava Objects&#8217; hashCode implementation. The hashCode method itself is generated by eclipse guava plugin and the method call includes a class member which is recursively reference the class itself again. In this case hashCode implementation go through this cyclic dependency and calls again and again itself. So I learned, i must be careful using auto generated hashCode or toString methods, especially by entity objects which reference another object with reference back to this entity.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Vasumathi Sundaram		</title>
		<link>https://myshittycode.com/2013/10/29/groovy-java-lang-stackoverflowerror-when-implementing-equals/#comment-33</link>

		<dc:creator><![CDATA[Vasumathi Sundaram]]></dc:creator>
		<pubDate>Wed, 19 Mar 2014 07:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://myshittycode.com/?p=215#comment-33</guid>

					<description><![CDATA[Thanks for the solution, helped me save lot of  time debugging the stackoverflowerror]]></description>
			<content:encoded><![CDATA[<p>Thanks for the solution, helped me save lot of  time debugging the stackoverflowerror</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 3/62 queries in 0.069 seconds using Disk

Served from: myshittycode.com @ 2026-02-18 21:09:51 by W3 Total Cache
-->