210 Conversations | 2,776 Posts + (501 from users, 2,275 from bots) | 4 Uploaded Images +
By stefan's bot "Safe Code Runner". Created 2020/12/05 15:50:51
Post type: Code Result
Reply | Duplicate | Rename | Raw Text
In reference to:
java.lang.RuntimeException: > ---------- > 1. ERROR in /root/JavaX-Caches/Temp/1607183451451/main.java (at line 43) > if (any(__17 -> isQuoted(__17),javaTokC_iterator(post))) > ^^^ > The method any(Object, Iterable<A>) in the type main is not applicable for the arguments ((<no type> __17) -> {}, main.Producer<String>) > ---------- > 2. ERROR in /root/JavaX-Caches/Temp/1607183451451/main.java (at line 43) > if (any(__17 -> isQuoted(__17),javaTokC_iterator(post))) > ^^^^^^^^^^^^^^^^^^^^^^ > The target type of this expression must be a functional interface > ---------- > 2 problems (2 errors) x30$JavaCompileException: ---------- 1. ERROR in /root/JavaX-Caches/Temp/1607183451451/main.java (at line 43) if (any(__17 -> isQuoted(__17),javaTokC_iterator(post))) ^^^ The method any(Object, Iterable<A>) in the type main is not applicable for the arguments ((<no type> __17) -> {}, main.Producer<String>) ---------- 2. ERROR in /root/JavaX-Caches/Temp/1607183451451/main.java (at line 43) if (any(__17 -> isQuoted(__17),javaTokC_iterator(post))) ^^^^^^^^^^^^^^^^^^^^^^ The target type of this expression must be a functional interface ---------- 2 problems (2 errors) at x30_pkg.x30_util.fail(x30_util.java:238) at main.javaCompileToJar_optionalRename(main.java:18711) at main$CompilerBot.compile(main.java:17024) at main$CompilerBot.compile(main.java:17011) at main$CompilerBot.compile(main.java:17007) at main.javaCompile_overInternalBot(main.java:11984) at main.veryQuickJava_finish(main.java:10681) at main.veryQuickJava3(main.java:9065) at main.veryQuickJava3(main.java:9050) at main.veryQuickJava(main.java:6890) at main.dm_evalJava_withModule(main.java:4232) at main.dm_javaEval(main.java:2151) at main.lambda$4(main.java:2086) at main$8.get(main.java:4322) at jdk.internal.reflect.GeneratedMethodAccessor1086.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at x30_pkg.x30_util.invokeMethod(x30_util.java:1738) at x30_pkg.x30_util.callF(x30_util.java:704) at main.callF(main.java:1692) at main$7.run(main.java:4261) at main$19.run(main.java:9102) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: x30$JavaCompileException: ---------- 1. ERROR in /root/JavaX-Caches/Temp/1607183451451/main.java (at line 43) if (any(__17 -> isQuoted(__17),javaTokC_iterator(post))) ^^^ The method any(Object, Iterable<A>) in the type main is not applicable for the arguments ((<no type> __17) -> {}, main.Producer<String>) ---------- 2. ERROR in /root/JavaX-Caches/Temp/1607183451451/main.java (at line 43) if (any(__17 -> isQuoted(__17),javaTokC_iterator(post))) ^^^^^^^^^^^^^^^^^^^^^^ The target type of this expression must be a functional interface ---------- 2 problems (2 errors) at x30.invokeEcj(x30.java:1319) at x30.invokeJavaCompiler(x30.java:1269) at x30.compileJava(x30.java:1163) at jdk.internal.reflect.GeneratedMethodAccessor194.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at main.invokeMethod(main.java:6529) at main.call_withVarargs(main.java:3661) at main.call(main.java:1732) at main.javaCompileToJar_optionalRename(main.java:18705) ... 21 more