IllegalAccessError: accessing a protected method
<p>I have two classes.</p>

<p>Class <code>A</code> has protected method <code>m()</code>, <code>a</code> is an instance of <code>A</code>.</p>

<p>Class <code>B</code> is in the same package as class <code>A</code>.</p>

<p>I am trying to access <code>a.m()</code> but I am getting <code>IllegalAccessError</code>...</p>

<p>What's wrong?</p>
