Mark-<br><br>Yes, this is a bug.&nbsp; Thanks for reporting it!<br><br>Regards,<br>Neal<br><br><div class="gmail_quote">On Tue, Jun 17, 2008 at 1:22 AM, Mark Mahieu &lt;<a href="mailto:mark@twistedbanana.demon.co.uk">mark@twistedbanana.demon.co.uk</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The following class triggers a StackOverflowError in the compiler:<br>
<br>
<br>
class StackOverflow {<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;class Inner {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{=&gt; String} ref = this#toString();<br>
 &nbsp; &nbsp; &nbsp; &nbsp;}<br>
}<br>
<br>
<br>
The system is out of resources.<br>
Consult the following stack trace for details.<br>
java.lang.StackOverflowError<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:970)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:1060)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.makeOwnerThisN(Lower.java:1401)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.makeOwnerThis(Lower.java:1385)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.accessBase(Lower.java:886)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:1046)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:1060)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.makeOwnerThisN(Lower.java:1401)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.makeOwnerThis(Lower.java:1385)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.accessBase(Lower.java:886)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:1046)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:1060)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.makeOwnerThisN(Lower.java:1401)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.makeOwnerThis(Lower.java:1385)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.accessBase(Lower.java:886)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:1046)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.sun.tools.javac.comp.Lower.access(Lower.java:1060)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;....<br>
<br>
<br>
<br>
Regards,<br><font color="#888888">
<br>
Mark<br>
</font></blockquote></div><br>