Closed faustocarva closed 3 years ago
Thanks for reporting @faustocarva. I was able to reproduce and fix this issue. Nonetheless, it was not related to nested classes or interfaces.
Could you please test this code again with the new code in the master branch?
In this particular example, the problem was occurring due to a bug while decompiling array types.
It worked. I will do a PR with this test case, all right?
Perfect @faustocarva . Please, send a PR with the test cases.
Hi, the Decompiler class has a problem when decompiling (bytecode to jimple) a class file that is originated from a source code (.java) which have a nested interface. Maybe the whole problem is related to the generation of multiples class files originated from java files. Below is the code that gives the error:
I created a test case for this:
And here the error:
I came up with this error trying to process this simple file:
https://github.com/OpenFeign/feign/blob/819b2df8c54d9266abf4cde9b17ab7890ed95cc6/core/src/main/java/feign/stream/StreamDecoder.java