Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
scabug opened this issue Aug 27, 2013 · 4 comments
Assignees
Milestone

Comments

@scabug
Copy link

@scabug scabug commented Aug 27, 2013

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.

@scabug
Copy link
Author

@scabug scabug commented Aug 27, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7790?orig=1
Reporter: Martin Quinson (mquinson)
Affected Versions: 2.10.2

@scabug
Copy link
Author

@scabug scabug commented Aug 27, 2013

@paulp said:
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.

@scabug
Copy link
Author

@scabug scabug commented Aug 27, 2013

@som-snytt said:
+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.

@scabug
Copy link
Author

@scabug scabug commented Aug 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants