Liubsyy / JarEditor

IDEA plugin for directly editing and modifying files in jar without decompression. (一款无需解压直接编辑修改jar包内文件的IDEA插件)
Apache License 2.0
513 stars 46 forks source link

Compile err: #11

Open aixiao0621 opened 2 months ago

aixiao0621 commented 2 months ago

换用了不同版本的JDK也没有解决

[C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:201: error: incompatible types: Object cannot be converted to Map libResultMap.put(appClass, libInnerMap); ^C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:422: error: incompatible types: boolean cannot be converted to int int count = false; ^C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:423: error: incompatible types: boolean cannot be converted to int int total = false; ^C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:426: error: variable total is already defined in method lc_ac_classSimilar(Map ,Map ,String,int) int total = ((BloomBitSet)classBitSetListLib.get(lcList.get(i))).size; ^C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:429: error: variable count is already defined in method lc_ac_classSimilar(Map ,Map ,String,int) int count = 0; ^C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:493: error: variable lpValue is already defined in method candidatePackageSimilar(Map >,Map >,Map >,Map >) Map > lpValue = new HashMap(); ^C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:499: error: variable apValue is already defined in method candidatePackageSimilar(Map >,Map >,Map >,Map >) Map apValue = new HashMap(); ^C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java:847: error: incompatible types: Object cannot be converted to Map bitSetList.put(pkg, classBitSet); ^Note: C:\Users\user\Desktop\code\LIBLOOM-main\artifacts\online_temp\jar_edit_java_source\cn\edu\ruc\libloom\LIBLOOM.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output8 errors]

Liubsyy commented 2 months ago

语法错误,估计是IDEA反编译的有点差错,根据提示改改吧