hi,everybody,I’m studing the struts framework!I have decompiled the whole struts’ class! but I found a strange thing that
the part of the class RequestProcessor’ source code isn’t accord with the java syntax rule!Such as the following:
protected Action processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
throws IOException
{
String className;
className = mapping.getType();
if(log.isDebugEnabled())
log.debug(” Looking for Action instance for class ” + className);
Action instance = null;
HashMap hashmap = actions;
JVM INSTR monitorenter ;
instance = (Action)actions.get(className);
if(instance == null)
break MISSING_BLOCK_LABEL_102;
if(log.isTraceEnabled())
log.trace(” Returning existing Action instance”);
return instance;
if(log.isTraceEnabled())
log.trace(” Creating new Action instance”);
instance = (Action)RequestUtils.applicationInstance(className);
goto _L1
Exception e;
e;
log.error(getInternal().getMessage(“actionCreate”, mapping.getPath()), e);
response.sendError(500, getInternal().getMessage(“actionCreate”, mapping.getPath()));
null;
hashmap;
JVM INSTR monitorexit ;
return;
_L1:
instance.setServlet(servlet);
actions.put(className, instance);
hashmap;
JVM INSTR monitorexit ;
goto _L2
Exception exception;
exception;
hashmap;
JVM INSTR monitorexit ;
throw exception;
_L2:
return instance;
}
Is this the tool’s problem?