wave N+11: adl EF lambda copy (var1 in model cache)

This commit is contained in:
loki5512344 2026-10-03 15:46:34 +02:00
parent 7fe0484a50
commit 7f769c2b69
Signed by: boba
GPG key ID: 253067914055423B
2 changed files with 26 additions and 1 deletions

24
build-logs/vfbuild26.log Normal file
View 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

View file

@ -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:
}