mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Introduce `EnvironmentScopedProjectJdkLookup` interface for environment‑aware SDK resolution and make `ProjectJdkTableImpl` implement it. Add `findJdk(String, InternalEnvironmentName)` and `findJdk(String, String, InternalEnvironmentName)` methods that delegate to `SdkTableImplementationDelegate#findSdkByName(String, InternalEnvironmentName)`. Update `ProjectJdkTableProjectView.findJdk(...)` (both overloads) to use the interface methods with environment from the project descriptor. This enables per‑environment SDK separation, reduces unnecessary cross‑environment lookups, and improves correctness without changing external behavior. (cherry picked from commit 73fefa0c54c2156e824da9f081f70efea262b933) IJ-CR-180956 GitOrigin-RevId: 160cfcffeea6209e974d137a0cc144d52170c62b