Commons BSF
  1. Commons BSF
  2. BSF-3

ScriptEngineManager.getFactories() NOT compliant with JSR223 API

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: BSF-3.0
    • Fix Version/s: BSF-3.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, Java 6

      Description

      Method ScriptEngineManager.getFactories() (trunk code and tags/bsf-3.0-beta1/ code) returns an array of ScriptEngineFactory. However JSR 223 Scripting for the Java™ Platform Final Draft Specification version 1.0 (section SCR.4.3.8.1 Discovery Mechanism, page 168) says that should return List<ScriptEngineFactory>.

      Particularly this issue makes impossible develop client code using bsf3.0-beta1 maintaining the compatibility with Java 6 Scripting API reference implementation

      1. BSF-3_patch.txt
        17 kB
        Sanka Samaranayake

        Activity

        Ivan Martinez-Ortiz created issue -
        Sanka Samaranayake made changes -
        Field Original Value New Value
        Attachment BSF-3_patch.txt [ 12367735 ]
        Rony G. Flatscher made changes -
        Assignee Sanka Samaranayake [ sanka ]
        Sanka Samaranayake made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Sebb made changes -
        Fix Version/s BSF-3.0 [ 12312314 ]

          People

          • Assignee:
            Sanka Samaranayake
            Reporter:
            Ivan Martinez-Ortiz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development