Enrico Palazzo [
https://community.jboss.org/people/pulce] created the discussion
"Re: Compile problem with interface initialization"
To view the discussion, visit:
https://community.jboss.org/message/749133#749133
--------------------------------------------------------------
Solved my issue, was quite obvious. When using the above code in a package, the
.setInterfaces command must refer to the fully qualified name. Assuming the two files are
in package "test", one must cast
evalClass.setInterfaces(new CtClass[] { pool.makeClass("test.Evaluator") });
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/749133#749133]
Start a new discussion in Javassist at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]