Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The IntelliJ plugin does not decompile anonymous class correctly #16

Open
Ciribomflax opened this issue Nov 17, 2023 · 0 comments
Open

Comments

@Ciribomflax
Copy link

Ciribomflax commented Nov 17, 2023

I used the vineflower-1.9.3.jar to decompile a JAR file and it correctly produced a java source class with the following lines:
client.addRequestInterceptor(new HttpRequestInterceptor() { public void process(HttpRequest request, HttpContext context) throws HttpException, IOException { request.setHeader("Host", IdpMonitorSampler.this.getHost(endpoint)); } });

However, if I extract the same class file from the jar and open it in IntelliJ I see the following line:
client.setRedirectStrategy(new 1(this, endpoint, endpointUrl));

Is it a bug or does the IntelliJ plugin not know how to correctly decompile this case?

UPDATE:
If I also use the IntelliJ plugin File Expander in order to be able to see the content of JAR files, I can double click the class and Quiltflower decompiles it correctly. I guess there's some information missing if I extract the class file from the JAR and then decompile it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant