Set AstDeobfuscator's language level to 11

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent da193ebf52
commit 46c0c29559
  1. 2
      deob-ast/src/main/java/dev/openrs2/deob/ast/AstDeobfuscator.kt

@ -27,7 +27,7 @@ class AstDeobfuscator @Inject constructor(
} }
val config = ParserConfiguration() val config = ParserConfiguration()
.setLanguageLevel(ParserConfiguration.LanguageLevel.JAVA_8) .setLanguageLevel(ParserConfiguration.LanguageLevel.JAVA_11)
.setSymbolResolver(JavaSymbolSolver(solver)) .setSymbolResolver(JavaSymbolSolver(solver))
val printerConfig = PrettyPrinterConfiguration() val printerConfig = PrettyPrinterConfiguration()

Loading…
Cancel
Save