Re: help needed - decompiling



Allan M. Bruce wrote:

Maybe I didnt specify the correct options, but I have a lot of errors, here is a couple which seem to be repeated:
public User getUser(String xiName, int xiConfID)
{
Object obj = mSema4;
JVM INSTR monitorenter ;
return (User)mUsersByName.get((new StringBuilder()).append(xiName).append(":").append(xiConfID).toString());
Exception exception;
exception;
throw exception;
}
Obviously the decompiler has problems with decompiling 'synchronized' (and its accompanying catch-all statement generated by the compiler).
I would guess your original source was something like this:

public User getUser(String xiName, int xiConfID)
{
synchronized (mSema4)
{
return (User) mUsersByName.get(xiName + ":" + xiConfID);
}
}


--
"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')
.