fully quialify org.jetbrains.concurrency.Promise.State Java 19 introduced java.util.concurrent.Future.State enum, see https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/Future.State.html causing the following error: /<<PKGBUILDDIR>>/platform/core-api/src/org/jetbrains/concurrency/InternalPromiseUtil.java:148: error: reference to State is ambiguous public final State getState() { ^ both enum org.jetbrains.concurrency.Promise.State in Promise and enum java.util.concurrent.Future.State in Future match
[java] IDEA-323038 Stub decompiler fails on enums in Java 21-ea builds Java 21 compiler adds the method parameter section to mandated methods like valueOf in enums (see JDK-8292275). The new thing is that mandated method parameter may have no name. It's unexpected for stub decompiler, which fails with NullPointerException.