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

Eval generates broke classpath when current classpath includes filename with spaces #23

Closed
stephenjudkins opened this issue May 7, 2012 · 1 comment

Comments

@stephenjudkins
Copy link
Contributor

To reproduce:

  • Create an SBT project in a directory that includes an escaped space (%20).
  • Evaluate Scala source code that includes a reference to class in your current classpath.
  • Observe failure:
com.twitter.util.Eval$CompilerException: Compiler exception error: line 2: object turing is not a member of package com
import com.turing.madea.MadeaConfig
           ^
    at com.twitter.util.Eval$StringCompiler.apply(Eval.scala:529)
    at com.twitter.util.Eval$StringCompiler$$anonfun$apply$3.apply(Eval.scala:540)
    at com.twitter.util.Eval$StringCompiler$$anonfun$apply$3.apply(Eval.scala:539)
    at scala.Option.getOrElse(Option.scala:108)
    at com.twitter.util.Eval$StringCompiler.apply(Eval.scala:539)
    at com.twitter.util.Eval.applyProcessed(Eval.scala:198)
    at com.twitter.util.Eval.applyProcessed(Eval.scala:191)
    at com.twitter.util.Eval.apply(Eval.scala:137)

stephenjudkins added a commit to stephenjudkins/util that referenced this issue May 7, 2012
…erant of unusual pathnames that include spaces or other special characters
@mariusae
Copy link
Contributor

Merged (manually)

smarter pushed a commit to smarter/twitter-util that referenced this issue Aug 12, 2018
smarter pushed a commit to smarter/twitter-util that referenced this issue Aug 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants