OFBiz
  1. OFBiz
  2. OFBIZ-528

Upgrade Beanshell library to version 2.0b4

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None
    • Environment:

      Windows XP, MySQL 5.0, JDK1.5, ofbiz_opentaps_473442

      Description

      As discussed recently on ofbiz-users mailing list, I proposed to upgrade the Beanshell jar used by OFBiz (framework/base/lib/scripting/bsh.jar), which is based on a 1.3a1, to the current "stable" version, 2.0b4.

      This has the following advantages:

      • JDK1.5 interpretation capability
      • various bugfixes

      However as explained by David E. Jones here:
      https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+Customized+BeanShell+Source+(with+ParsedScript+object)

      ...it will be necessary to patch the source to allow for the script parsing on which OFBiz depends.

      This fix MAY also resolve this bug:
      https://issues.apache.org/jira/browse/OFBIZ-303

      1. BshClassManager.java
        20 kB
        Cameron Smith
      2. Interpreter.java
        40 kB
        Cameron Smith
      3. ParsedScriptObjectExtension.patch
        9 kB
        David E. Jones
      4. viewprofile.bsh
        5 kB
        Cameron Smith

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            David E. Jones
            Reporter:
            Cameron Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development