You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.eclipse.lsp4jakarta.commons.JavaCursorContextKind.forValue() throws an IllegalArgumentException when passed the value from its own NONE constant.
#520
Open
mrglavas opened this issue
Mar 8, 2024
· 1 comment
This was discovered while testing completion support in Liberty Tools for IntelliJ. See discussion here: OpenLiberty/liberty-tools-intellij#681. The problem is that the forValue() method assumes that all of the values are 1 more than their regular enum ordinal value which is true for all of the constants except for NONE whose value is 2000.
The text was updated successfully, but these errors were encountered:
This was discovered while testing completion support in Liberty Tools for IntelliJ. See discussion here: OpenLiberty/liberty-tools-intellij#681. The problem is that the
forValue()
method assumes that all of the values are 1 more than their regular enum ordinal value which is true for all of the constants except forNONE
whose value is 2000.The text was updated successfully, but these errors were encountered: