commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Scott (JIRA)" <>
Subject [jira] [Created] (JEXL-140) Improvements for invoking static methods
Date Thu, 02 Aug 2012 02:55:02 GMT
George Scott created JEXL-140:

             Summary: Improvements for invoking static methods
                 Key: JEXL-140
             Project: Commons JEXL
          Issue Type: Improvement
            Reporter: George Scott
            Priority: Minor

Two related suggestions:

1. The documentation does not really describe how to call a static method from a JEXL script.
 I believe that it is done this way:

return class.forName("java.lang.System").getenv("test");

2. Implementing a class() function that parallels the existing new() function would make calling
static methods easier, helping to clean up scripts.  The above example would become:

return class("java.lang.System").getenv("test");

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message