[AA] KT-55566 StandaloneProjectFactory: Setup Java language level before Java files are parsed

- LL FIR tests with Java `record` classes and other new syntax features
  failed because `file.packageName` in `findJvmRootsForJavaFiles`
  caused the Java file to be parsed before the Java language level was
  configured. The Java language level is now set up in
  `registerJavaPsiFacade`, which is early enough.
This commit is contained in:
Marco Pennekamp
2023-01-03 18:16:27 +01:00
committed by Space Team
parent fed86a57e3
commit e68111c218
8 changed files with 7 additions and 9 deletions
@@ -1,4 +1,3 @@
// FIR_IDE_IGNORE
// FIR_IDENTICAL
// ISSUE: KT-41215