Eclipse freezes due to a deadlock in Buildship using Java 17
Switching to any view or perspective in Eclipse which involves Buildship (package explorer, project explorer, gradle tasks, gradle execution...) results in Eclipse completely freezing. This happens when JAVA_HOME, JDK_HOME and PATH point to Java 17. With 16 there is no issue.
The original report was submitted to Eclipse, including a log file: https://bugs.eclipse.org/bugs/show_bug.cgi?id=576086
Expected Behavior
Eclipse should not freeze.
Current Behavior
Eclipse freezes and has to be closed externally.
Context
Can't switch to Java 17 in the OS.
Steps to Reproduce
Create a Gradle project in Eclipse after setting the above to Java 17 and switch to package explorer, for example.
Your Environment
Win 10 Eclipse 4.21 Eclipse Buildship 3.1.5.v20210113-0929
Same issue here