Sorry, the decompiled code is incorrect, here's the correct one:
(messed with other result)
public Options(Configuration configuration)
// old code body start
// old code body ends
Object obj = null;
m_propertyFile = "my.properties";
if(true) goto _L2; else goto _L1
Did I do something wrong here ?
Any help is appreciated.
What problem did you see when you ran the
generated Options class? Verification error?
I did try to use the modified Options class, and it worked as
it's supposed. Although I am still confused by the decompiled
Thanks for your help.
It works? That's good news. :)
Since the bytecode generated by Javassist
sometime does not look like bytecode generated
by javac, some decompilers are confused.
My understanding is that decompilers can translate
bytecode into Java source if the bytecode is the
output of javac. I think it's really difficult to decompile
*all* kinds of bytecode.
I'm trying to make Javassist generate the bytecode
that looks like one by javac as much as possible, though.