RE: [Actionframework-users] bug in Action.java
Status: Inactive
Brought to you by:
ptoman
|
From: Petr T. <cz5...@ti...> - 2002-09-20 07:19:58
|
The code in Action.java [624] should be:
if (retValue =3D=3D null) {
if (i > 0 || componentData.persistence !=3D ComponentData.PERSISTENCE=
_STATIC)
throw new ActionException("Method '" + methodStack[i-1] + "' of
action '" + debugName + "' returns null");
} else {
// ensure proper class loading (required by RMI & co.)
if (retValue.getClass() !=3D methodStack[i].getDeclaringClass())
methodStack[i] =3D retValue.getClass().getMethod(methodStack[i].g=
etName(),
methodStack[i].getParameterTypes());
}
Petr
[ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=3D22957959 ]
_________________________________________________________________
Chcete v=ECd=ECt jak=E9 to je m=EDt =B9est jazyk=F9? Zkuste to na http://=
slovnik.tiscali.cz
|