You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the project is run on Java 1.7.80, the java file is loaded successfully and scanned with no issues.
However when run with the later Java Version (1.8.192), it throws a failure loading java.lang.CharSequence.
A trimmed excerpt of the stacktrace is shown below.
java.lang.Error: Error: Failed to load java.lang.CharSequence.
at soot.JastAddJ.PathPart.getCompilationUnit(PathPart.java:109)
at soot.JastAddJ.Program.getCompilationUnit(Program.java:873)
at soot.JastAddJ.Program.getLibCompilationUnit_compute(Program.java:1517)
at soot.JastAddJ.Program.getLibCompilationUnit(Program.java:1500)
at soot.JastAddJ.Program.lookupLibType_compute(Program.java:1465)
at soot.JastAddJ.Program.lookupLibType(Program.java:1433)
at soot.JastAddJ.Program.lookupType_compute(Program.java:1412)
at soot.JastAddJ.Program.lookupType(Program.java:1393)
at soot.JastAddJ.Program.Define_TypeDecl_lookupType(Program.java:1981)
at soot.JastAddJ.ASTNode.Define_TypeDecl_lookupType(ASTNode.java:1657)
Is there an extra step to be called due to the version upgrade?
An important note to add, the java file being loaded may or may not have the entry point (main(...)) of the entire program.
The text was updated successfully, but these errors were encountered:
Unfortunately, the Java Source Code frontend is outdated.
I suggest to use Soot's ASM bytecode frontend. It supports more
language features and is more powerful.
Currently within my project, this scenario reads in a single java file (*.java), loads it into Soot's Scene, scans it, and displays information.
The java class loading method (used and working in other scenarios) is as shown below.
When the project is run on Java 1.7.80, the java file is loaded successfully and scanned with no issues.
However when run with the later Java Version (1.8.192), it throws a failure loading java.lang.CharSequence.
A trimmed excerpt of the stacktrace is shown below.
Is there an extra step to be called due to the version upgrade?
An important note to add, the java file being loaded may or may not have the entry point (main(...)) of the entire program.
The text was updated successfully, but these errors were encountered: