wave N+11: adl EF lambda copy (var1 in model cache)
This commit is contained in:
parent
7fe0484a50
commit
7f769c2b69
2 changed files with 26 additions and 1 deletions
24
build-logs/vfbuild26.log
Normal file
24
build-logs/vfbuild26.log
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/storage/aboba/evovis-client/src/main/java/defpackage/adl.java:46: error: local variables referenced from a lambda expression must be final or effectively final
|
||||
return MODEL_CACHE.computeIfAbsent(var0.getKey(), var1x -> aid.parse(var1));
|
||||
^
|
||||
Note: Some input files use or override a deprecated API.
|
||||
Note: Recompile with -Xlint:deprecation for details.
|
||||
Note: Some input files use unchecked or unsafe operations.
|
||||
Note: Recompile with -Xlint:unchecked for details.
|
||||
1 error
|
||||
|
||||
FAILURE: Build failed with an exception.
|
||||
|
||||
* What went wrong:
|
||||
Execution failed for task ':compileJava' (registered by plugin class 'org.gradle.api.plugins.JavaBasePlugin').
|
||||
> Compilation failed; see the compiler output below.
|
||||
/storage/aboba/evovis-client/src/main/java/defpackage/adl.java:46: error: local variables referenced from a lambda expression must be final or effectively final
|
||||
return MODEL_CACHE.computeIfAbsent(var0.getKey(), var1x -> aid.parse(var1));
|
||||
^
|
||||
1 error
|
||||
|
||||
* Try:
|
||||
> Check your code and dependencies to fix the compilation error(s)
|
||||
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
|
||||
|
||||
BUILD FAILED in 6s
|
||||
|
|
@ -43,7 +43,8 @@ public final class adl {
|
|||
case 927116587:
|
||||
return null;
|
||||
case 1423690922:
|
||||
return MODEL_CACHE.computeIfAbsent(var0.getKey(), var1x -> aid.parse(var1));
|
||||
final String var1f = var1;
|
||||
return MODEL_CACHE.computeIfAbsent(var0.getKey(), var1x -> aid.parse(var1f));
|
||||
case 1638338388:
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue