With the following Interface definition:
----
package logic;
public interface Action
{
public ActionResult execute(ScriptState scriptState);
public final static Action NULLACTION = new Action()
{
public ActionResult execute (ScriptState
scriptState)
{
return new ActionResult
(ActionResultCode.CONTINUE);
}
};
public final static Action HALTACTION = new Action()
{
public ActionResult execute (ScriptState
scriptState)
{
return new ActionResult
(ActionResultCode.HALT);
}
};
}
----
I get the following exception and stacktrace:
----
Exception occurred during event dispatching:
java.lang.IllegalAccessError: try to access class
logic.Action$1 from class logic.Action
at logic.Action.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at mockmaker.MockMaker.make(Unknown
Source)
at
org.subconscious.mockmaker.gui.GUIFrame.make
(Unknown Source)
----
It seems to have trouble with the Anonymous classes
defined in the Interface.
Logged In: YES
user_id=232931
This is with version 1.11.0.