We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boolean
While working on #29847, I noticed that the SpEL Indexer omits support for compiling an expression that indexes into a primitive boolean array.
Indexer
For example, the following test fails at the assertCanCompile() line.
assertCanCompile()
@Test void indexIntoPrimitiveBooleanArray() { boolean[] booleans = { true, false, true }; expression = parser.parseExpression("[1]"); assertThat(expression.getValue(booleans)).isEqualTo(false); assertCanCompile(expression); assertThat(expression.getValue(booleans)).isEqualTo(false); assertThat(getAst().getExitDescriptor()).isEqualTo("Z"); }
The text was updated successfully, but these errors were encountered:
fea1464
sbrannen
No branches or pull requests
While working on #29847, I noticed that the SpEL
Indexer
omits support for compiling an expression that indexes into a primitive boolean array.For example, the following test fails at the
assertCanCompile()
line.The text was updated successfully, but these errors were encountered: