Skip to content
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

Compile err: #11

Open
aixiao0621 opened this issue Aug 15, 2024 · 1 comment
Open

Compile err: #11

aixiao0621 opened this issue Aug 15, 2024 · 1 comment

Comments

@aixiao0621
Copy link

换用了不同版本的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
Copy link
Owner

Liubsyy commented Aug 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants