mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
`checkForJdk(Path, Boolean)` depends on a flag with information about the current execution environment. As a result, this flag could be miss-used and the wrong check would be performed. The method should only check "is it possible to use a JDK instance" no matter to which execution environment it belongs to. `JdkUtil#isCompatible` is a replacement for environment-related logic from `checkForJdk(Path, Boolean)`. (cherry picked from commit d6e9346c669cf2ad95158867c7ce58e51082b4d5) GitOrigin-RevId: 73170732fc010034e2f1e2dcfb4a3e71146f4acb