idea反編譯失敗 /* compiled code */的解決方法


最近在研究源碼,但是我的idea有點奇怪,有的文件可以反編譯,但有的文件反編譯后方法內容是 /* compiled code */,查了下說是反編譯失敗了,都說是插件的原因。

然后我看了下idea的插件中,搜索decompiler,發現居然有兩個。。Java Bytecode Decompiler和Java Decompiler Intellij Plugin。看名字Java Decompiler Intellij Plugin這個應該是idea自帶的反編譯插件,而Java Bytecode Decompiler的介紹就比較牛B了,

The plugin extends standard IDEA .class file viewer with powerful Fernflower decompiler - no more dull "{ /* compiled code */ }" in method bodies!

果斷禁用掉Java Decompiler Intellij Plugin,重啟idea后反編譯成功了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM