<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am getting "Unable to resolve object reference"
on certain inner classes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I seem to get this error on inner classes that have
been defined within other inner classes. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Since I am using XML Beans, I am not able to
reference some of the generated classes due to this limitation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is this a known limitation of JBoss Rules or is it
a limitation of the JANINO compiler?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is a example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><B><FONT color=#7f0055 size=2>
<P align=left>package</B></FONT><FONT size=2> com.sample;</FONT></P>
<P align=left><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2>
</FONT><B><FONT color=#7f0055 size=2>class</B></FONT><FONT size=2> Outer {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>
public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055
size=2>class</B></FONT><FONT size=2> Inner {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>
public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055
size=2>boolean</B></FONT><FONT size=2> </FONT><FONT color=#0000c0
size=2>inner</FONT><FONT size=2>=</FONT><B><FONT color=#7f0055
size=2>false</B></FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>
public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055
size=2>class</B></FONT><FONT size=2> InnerInner {</P>
<P align=left></P>
<P align=left> }</P>
<P align=left> }</P>
<P align=left>}</P></FONT></DIV>
<DIV><FONT face=Arial size=2>Here is the rule:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><B><FONT color=#960000 size=2>
<P align=left>package</B></FONT><FONT size=2> com.sample</P>
<P align=left></P></FONT><B><FONT color=#960000 size=2>
<P align=left>import</B></FONT><FONT size=2>
com.sample.Outer.Inner.InnerInner;</P>
<P align=left></P></FONT><B><FONT color=#960000 size=2>
<P align=left>rule</B></FONT><FONT size=2> </FONT><FONT color=#008000
size=2>"Hello World 1"</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#960000 size=2>when</P></B></FONT><FONT
size=2>
<P align=left>InnerInner()</P>
<P align=left></FONT><B><FONT color=#960000 size=2>then</P></B></FONT><FONT
size=2>
<P align=left>System.out.println(</FONT><FONT color=#008000
size=2>""</FONT><FONT size=2>);</P></FONT><B><FONT color=#960000 size=2>
<P>end</P></B></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>