-
Notifications
You must be signed in to change notification settings - Fork 383
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
java.io.InvalidClassException
when using testGrouping
#4847
Comments
Argh, the correct thing to do is use
|
It looks like we could indeed add a warning if |
I've been trying to do this, and I'm not sure we have a good interception point. We test
So it means we'd have to check on the level of test execution tasks. Not sure I want to wrap all of these :-/ That being said, why can we not run tests in a forked JVM? (it doesn't make sense, of course, because all it'll do is start other subprocesses, but why does it not work?). Are we linking / building against the wrong |
FWIW: The check for forking originated here (2014): |
In the forked JVM, sbt doesn't actually recreate instances of our own |
Hum, but isn't the point of a framework to abstract over how tests are run? Does this mean other frameworks (that "support" forking) have an additional implicit contract of how tests are to be run? |
Ah, OK. Now I understand. The problem is that sbt's forking assumes a standard implementation of |
Yes, exactly. |
Reproducer: armanbilge/sandbox@5e98848
Linking to scala-native/scala-native#3246, h/t @lafeychine
The text was updated successfully, but these errors were encountered: