I am trying to run the Astor but I get the compliance Error
[ERROR] fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:243) - Problem compiling the model with compliance level 8.
ERROR] fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:245) - The import io cannot be resolved
I am using java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
mvn compile and test run successfully but Astor is not able to generate fixes
bungee.txt Hello Team,
I am trying to run the Astor but I get the compliance Error [ERROR] fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:243) - Problem compiling the model with compliance level 8. ERROR] fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:245) - The import io cannot be resolved
I have attached the log file for your reference
In Astor Properties I have set
Java compliance Level
javacompliancelevel=8 alternativecompliancelevel=8
I am using java -version openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
mvn compile and test run successfully but Astor is not able to generate fixes
git clone https://github.com/SpigotMC/BungeeCord/ git checkout d9a8311
mvn compile, mvn test
Failed tests: testOpenSSL(net.md_5.bungee.NativeCipherTest): Native cipher failed to load! testOpenSSLBenchmark(net.md_5.bungee.NativeCipherTest): Native cipher failed to load! Tests run: 5, Failures: 2, Errors: 0, Skipped: 0
java -cp astor.jar fr.inria.main.evolution.AstorMain -location /root/astor/examples/BungeeCord -mode jkali -scope package -failing net.md_5.bungee.NativeCipherTest -dependencies /root/astor/examples/lib:/usr/share/maven/lib -srcjavafolder /native/src/main/ -srctestfolder /native/src/test/ -binjavafolder /native/target/classes -bintestfolder /native/target/test-classes -flthreshold 0.5 -seed 10 -maxtime 100 -stopfirst true
Could you please advise what needs to fixed.