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

randoop.compile.SequenceCompiler cannot write class files to disk #220

Open
bjkeller opened this issue Jul 20, 2017 · 1 comment
Open

randoop.compile.SequenceCompiler cannot write class files to disk #220

bjkeller opened this issue Jul 20, 2017 · 1 comment

Comments

@bjkeller
Copy link
Contributor

For the flaky-filter, it is necessary to compile a test class to disk. We would like to use randoop.compile.SequenceCompiler, which can compile a class given as a String, but it currently is unable to write the file to disk. This is likely because of how the SequenceJavaFileManager is written to manage the source "files" in memory.

@bjkeller bjkeller mentioned this issue Jul 20, 2017
@bjkeller
Copy link
Contributor Author

There is probably some generality in the SequenceCompiler support classes that is not necessary for how the compiler is used in Randoop -- managing class files in memory instead of writing them to disk. This is needed if the compiler is being applied to multiple classes with dependencies, but Randoop is compiling one class at a time. Instead, it may be sufficient to use default classes.

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

No branches or pull requests

1 participant