-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Incorrect decompilation for org.mortbay.start.Main #18
Comments
Thanks for this feedback. I keep & close this issue : this is not a GUI bug. |
Hi Emmanuel, I also concluded that this bug must be rather related to the underlying base of the decompiler, which is also used in the IDE plugins. But it’s up to you to destinct this. And in addition: there’s no possibility to raise bugs for the decompiler base, is there? Best regards, Von: Emmanuel Dupuy [mailto:notifications@github.com] Thanks for this feedback. I keep & close this issue : this is not a GUI bug. — BearingPoint GmbH The information in this email is confidential and may be legally privileged. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. |
Hi Peter, it's exact. The current JD-Core, born in 2007, is based on a simple "Pattern Matching Engine", like JAD. One of the hardest things is to correctly recognize the end of a try-catch-finally. Regards. |
…xception Throw exception when class to decompile cannot be loaded
First of all, thanks for this software! It's a great piece of work and very helpful :-)
Here's the bug I discovered.
I tried to decompile the following class:
http://grepcode.com/file/repo1.maven.org/maven2/org.mortbay.jetty/start/6.1.23/org/mortbay/start/Main.java
The respective jar should be available here:
http://grepcode.com/snapshot/repo1.maven.org/maven2/org.mortbay.jetty/start/6.1.23/
I noticed that line numbering is incorrect in JD-IntelliJ and double-checked in JD-GUI. Then I noticed, that the decompiled source is not correct and thus the line number also fails.
It seems that between those two lines in the original (!) source, the decompiler becomes confused:
In JD-GUI the result of the decompilation looks like this:
![jd-gui snapshot](https://cloud.githubusercontent.com/assets/12392888/7563000/871883de-f7d9-11e4-8cf4-76c58cbbb01b.PNG)
The text was updated successfully, but these errors were encountered: