Scala Programming Language
  1. Scala Programming Language
  2. SI-7790

ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider scala.tools.nsc.interpreter.IMain$Factory not found

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.2
    • Fix Version/s: Scala 2.10.4-RC1
    • Component/s: Misc Compiler
    • Labels:
    • Environment:

      Linux debian, manually downloaded jar files.

      Description

      The jarfile scala-compiler.jar of version 2.10.2 contains a file
      META-INF/services/javax.script.ScriptEngineFactory which content is
      scala.tools.nsc.interpreter.IMain$Factory

      When using some JRE-233 applications (such as jython, jruby or others) alongside with scala, I get the annoying error message:
      ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider scala.tools.nsc.interpreter.IMain$Factory not found
      That's perfectly justified since that class is only part of 2.11 milestones, not of the 2.10 serie.

      It seems to me that the something is rotten in the jar construction infrastructure, resulting in the javax.script.ScriptEngineFactory file being shared between 2.10 and 2.11 branches.

      It would be very cool if the next 2.10 release may not have this file, please.

      Thanks for your work, Mt.

      PS: sorry for the clearly overstated priority, but the webapp don't seem to want me to lower this.

        Activity

        Hide
        Paul Phillips added a comment -

        When it's all over with JIRA, we should collect all the different things people have said to the effect that "it's not a blocker, but I can't lower the priority" and make a giant collage. A monument to the worst piece of software ever known.

        Show
        Paul Phillips added a comment - When it's all over with JIRA, we should collect all the different things people have said to the effect that "it's not a blocker, but I can't lower the priority" and make a giant collage. A monument to the worst piece of software ever known.
        Hide
        A. P. Marki added a comment -

        +1 review of scripting.

        +1 giant collage. Or a Philip Glass opera of which "Blocker Blocker" is merely one act.

        I take exception to "the worst piece of software ever known", as I believe I worked on that, on a previous gig.

        I just realized that the emails that say "Bug Bug", mean the first "Bug" is the bug icon.

        +1 for the name "Martin Quinson". I wish I had thought of it first.

        Show
        A. P. Marki added a comment - +1 review of scripting. +1 giant collage. Or a Philip Glass opera of which "Blocker Blocker" is merely one act. I take exception to "the worst piece of software ever known", as I believe I worked on that, on a previous gig. I just realized that the emails that say "Bug Bug", mean the first "Bug" is the bug icon. +1 for the name "Martin Quinson". I wish I had thought of it first.
        Show
        A. P. Marki added a comment - https://github.com/scala/scala/pull/2891

          People

          • Assignee:
            A. P. Marki
            Reporter:
            Martin Quinson
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development