I've created a branch
(npremji-final-inner-class-broken-bug-20070326-branch) to show that
this code is failing (the maxNameSize changes from 100 to 1331809575):
Efforts are being taken to dramatically reduce the code involved.
public ProcName getProcName (final long addr, final int maxNameSize)
{
// Need to tell ptrace thread to perform the findProcInfo operation.
class ExecuteGetProcName
implements Execute
{
ProcName procName; public void execute ()
{
procName = ptraceAccessors.getProcName(addr, maxNameSize);
}
}
ExecuteGetProcName executer = new ExecuteGetProcName();
frysk.sys.Ptrace.requestExecute(executer);
return executer.procName;
}