Closed Thihup closed 3 years ago
This is working as intended. MethodHandles.lookup()
returns a MethosHandles$Lookup instance. What you are seeing is the result of toString()
which returns "com.sun.el.parser.AstFunction"
Custom resolvers play no part in this.
During some experiments, I've found the following case:
The same happens with Jasper. Is it right to return an AstFunction? If I remove the parenthesis, the parsing fails. From a TCK example, there is the FunctionELResolver, which resolves the only method
Int:val
(Integer.valueOf).So it means that the defineFunction using a prefix only works if we add a custom resolver?