Open juliamanfrindias opened 3 years ago
Hi @juliamanfrindias
The code from the bug you want to repair would be compiled with 1.4 compliance.
Astor provides a parameter for specifying the compliance level. By default, it uses compliance level 8.
For this reason, it fails when compiling that code ( enum
is not a valid identifier since Java 1.5).
Regards Matias
When I run the command using the lang_63 example:
java -cp astor-1.1.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ - bintestfolder /target/test-classes/ -location /home/astor/Documents/A3/astor/examples/lang_63/
Returns the error: