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

review test: check inheritance behaviour when using noclasspath with a sourceclasspath #1760

Merged
merged 3 commits into from
Dec 1, 2017

Conversation

surli
Copy link
Collaborator

@surli surli commented Nov 30, 2017

No description provided.

@surli
Copy link
Collaborator Author

surli commented Nov 30, 2017

Ok this PR shows that I don't manage to reproduce the error in #1757 (the first test does not fail).

However I really wonder why it fails when specifying the full path of a class to put in source classpath?
see: https://github.com/INRIA/spoon/pull/1760/files#diff-1ab3a44b929ed1b3f45ae2718c5bc427R190
@tdurieux @pvojtechovsky @monperrus any idea on that? Is it expected?


spoon = new Launcher();
spoon.getEnvironment().setNoClasspath(true);
spoon.getEnvironment().setSourceClasspath(new String[] { targetBinPath+"/fr/acme/MyClass.class" });
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I put the directory here, it works. Why?

@surli surli changed the title test: check inheritance behaviour when using noclasspath with a sourceclasspath review test: check inheritance behaviour when using noclasspath with a sourceclasspath Dec 1, 2017
@monperrus monperrus merged commit fe8789b into INRIA:master Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants