Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11458

Avoid the use of the scriptengines libraries from google code

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-script, osgi
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Those libraries were needed when jsr223 was not ubiquitous, but since that time, groovy offers a much better built-in support than the one from the scriptengine libraries.
      In particular, this library may cause memory leaks.

      JRuby, BSH also has native support for jsr223.

      Rhino has no public jsr223 implementation anymore, so it would make sense to keep that one. However, when using jdk8, it may switch to nashorn instead...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                gnt Guillaume Nodet
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: