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
Spoon exception about source code level #73
Comments
Hi Simon
Yes, the option is 'javacompliancelevel'. For instance, javacompliancelevel=8 corresponds to java 8 (or 1.8).
If the problem continues, write me and I run the example locally to reproduce the error |
Actually I misreaded my list of arguments yesterday: I'm already using this argument and setting it to 8: astorArgs.add("-parameters");
astorArgs.add("timezone:Europe/Paris:maxnumbersolutions:3:limitbysuspicious:false:maxmodificationpoints:1000:javacompliancelevel:8:logfilepath:repairnator.astor.log"); |
So, That means that using this configuration (that uses javacompliancelevel:8) you have the previous exception? |
Exactly |
Okey, I am almost sure where is the problem. |
Actually I don't have right now the logs, as my process fails. I'll try to reproduce the error myself before giving this to you. However I got the following information: Nopol next tries to repair the same bug ang got an error with Spoon:
Did you catch those exception in Astor for your fallback mechanism you talked about? |
I have just commited a change in the mechanism I explained before: we compile only once using 'javacompliancelevel' , if the compilation fails we throws an exception |
I got the following exception when running astor on project https://github.com/druid-io/druid:
Is there an option to specify the source code level wanted in Astor? And will it fix automatically the source code level used inside Spoon?
The text was updated successfully, but these errors were encountered: