Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-528

Upgrade Beanshell library to version 2.0b4

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Trunk
    • framework
    • None
    • 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

      Attachments

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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jonesde David E. Jones
            muriwo Cameron Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment