[ 
https://issues.apache.org/jira/browse/JEXL-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059203#comment-16059203
 ] 

Henri Biestro commented on JEXL-227:
------------------------------------

Checked the JSR 223; semantics on getLanguageVersion/getEngineVersion is not 
very detailed.
LANGUAGE_VERSION: Reserved key for the named value that identifies the version 
of the scripting language supported by the implementation.
ENGINE_VERSION: Reserved key for a named value that identifies the version of
the ScriptEngine implementation.

As a reminder, we may want to create a bug that we re-create after each release 
stating 'verify getLanguageVersion/getEngineVersion before release'. Otherwise, 
we'll probably keep forgetting about it...

> JexlScriptEngineFactory.getEngineVersion() should return actual version, ie 
> 3.1 as of reporting
> -----------------------------------------------------------------------------------------------
>
>                 Key: JEXL-227
>                 URL: https://issues.apache.org/jira/browse/JEXL-227
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Dmitri Blinov
>            Priority: Minor
>
> JexlScriptEngineFactory.getEngineVersion() reports "3.0" as a script engine 
> version in 3.1
> {code}
>     public String getEngineVersion() {
>         return "3.0"; // ensure this is updated if function changes are made 
> to this class
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to