[
https://issues.apache.org/jira/browse/JEXL-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582500#comment-17582500
]
Henri Biestro commented on JEXL-379:
------------------------------------
Initial drop
[e65235ba|https://github.com/apache/commons-jexl/commit/e65235ba16d0a32b2e2591a590798de7600d0cfd]
> Allow new to use class identifier
> ---------------------------------
>
> Key: JEXL-379
> URL: https://issues.apache.org/jira/browse/JEXL-379
> Project: Commons JEXL
> Issue Type: Improvement
> Affects Versions: 3.2.1
> Reporter: Henri Biestro
> Assignee: Henri Biestro
> Priority: Major
> Fix For: 3.3
>
>
> WHAT:
> The Java syntax for new is easier/nicer to use than the current JEXL one that
> forces to use a fully qualified class name (FQCN) to instantiate an object.
> The improvement will allow using the Java new syntax using either an FQCN (as
> identifier) or just an identifier.
> HOW:
> The grammar is augmented to allow the 'new qualified_class_name(<args>)'
> syntax. Provision is to be made to allow an 'import'-like mechanism so class
> identifiers can be resolved (JexlContext extension).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)