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
Cache (?) leads to no reaction for a changed jar file. #144
Comments
Facing the same issue on MacOs? Any resolution here? |
I'm running into this as well. Is there a workaround? |
Yes, JD-GUI uses a cache for each JAR, WAR, EAR, ZIP files. If you update a JAR file, close th tab, and drag and drop the new JAR file. |
But that's the thing, closing the tab and dragging the changed JAR file in just shows the old version again. |
Ok, I take a look. |
I just discovered this app and liking it, however because of this issue I am only limited to the jar xvf command. I wonder why would you need to use a cache of the jar. |
This is still an issue with v1.6.6 :( |
I wasted three hours today - I'd been relying on jd-gui to confirm a jar had the expected changes. I closed all the tabs and reopened the file, but didn't restart jd-gui. At a minimum jd-gui should flag if a file has changed since the cache was last populated. |
Yes, it is bad that when you close the jar file and drag a new one on it. it doesn't look at the new jar file. It just uses the old cache. You can't rely on this unless you close it every single time. |
I just spent four and a half hours bashing my head against Gradle builds, which then miraculously fixed itself, only for me to realize later that it was the fact that JD-GUI wasn't updating the file listing. It also explains why trying to look at the classes resulted in an |
Still got this issue on 1.6.6 - very annoying |
@emmanue1 I think you indeed just forgot to call https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#close--. Not sure though whether calling at in the jd-gui/services/src/main/java/org/jd/gui/service/fileloader/ZipFileLoaderProvider.java Line 43 in b71cc56
|
Still seeing this issue on 1.6.6 with ubuntu installation. Closing the JD-GUI won't help. |
I am not sure this is the same issue, but I see a very similar issue on 1.6.6 when I open my experimental jar that contains small changes for org.apache.hadoop.** classes. |
这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Thank you so much, disabled that option and now I can see my changes |
it seems jd-gui uses cache or something. As a result, if I open a jar file with jd-gui, then change the jar file and open it with jd-gui again, there is no reaction for the change of that jar file in jd-gui. Only restarting jd-gui work. Any reply or explanation is appreciated. Thank you!
The text was updated successfully, but these errors were encountered: