Skip to content

Commit

Permalink
Fix incorrect classpath argument for the frontend where the '-acp' op…
Browse files Browse the repository at this point in the history
…tion is not being used
  • Loading branch information
zhangt2333 committed Aug 18, 2024
1 parent 57b8ffb commit b6cdf90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/pascal/taie/AbstractWorldBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ public abstract class AbstractWorldBuilder implements WorldBuilder {

protected static String getClassPath(Options options) {
if (options.isPrependJVM()) {
return String.join(File.pathSeparator, options.getClassPath());
return Streams.concat(
options.getAppClassPath().stream(),
options.getClassPath().stream())
.collect(Collectors.joining(File.pathSeparator));
} else { // when prependJVM is not set, we manually specify JRE jars
// check existence of JREs
File jreDir = new File(JREs);
Expand Down

0 comments on commit b6cdf90

Please sign in to comment.