[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]
换用了不同版本的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]