Skip to content

Commit

Permalink
[JVM] Fix project build for new FI (#13044)
Browse files Browse the repository at this point in the history
This PR fixes more jvm project build for new Fuzz-Introspector following
#13034.

Signed-off-by: Arthur Chan <[email protected]>
  • Loading branch information
arthurscchan authored Feb 14, 2025
1 parent 69c4bc5 commit 65f0fc0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/jackson-dataformat-xml/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$(echo $ALL_DEPEN
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):$(echo $ALL_DEPENDENCY | xargs printf -- "\$this_dir/dependency/%s:"):\$this_dir

for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
fuzzer_basename=$(basename -s .java $fuzzer)
javac -cp $BUILD_CLASSPATH $fuzzer
cp $SRC/$fuzzer_basename*.class $OUT/
Expand Down
2 changes: 1 addition & 1 deletion projects/jansi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_dir

for fuzzer in $(find $SRC -name '*Fuzzer.java')
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java')
do
fuzzer_basename=$(basename -s .java $fuzzer)
javac -cp $BUILD_CLASSPATH $fuzzer
Expand Down
2 changes: 1 addition & 1 deletion projects/joni/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cd $curr_dir
BUILD_CLASSPATH=$JAZZER_API_PATH:$OUT/jar_temp
RUNTIME_CLASSPATH=\$this_dir/jar_temp:\$this_dir

for fuzzer in $(find $SRC -name '*Fuzzer.java')
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java')
do
fuzzer_basename=$(basename -s .java $fuzzer)
javac -cp $BUILD_CLASSPATH $fuzzer
Expand Down
2 changes: 1 addition & 1 deletion projects/jts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_dir

for fuzzer in $(find $SRC -name 'JtsFuzzer.java')
for fuzzer in $(find $SRC -maxdepth 1 -name 'JtsFuzzer.java')
do
fuzzer_basename=$(basename -s .java $fuzzer)
javac -cp $BUILD_CLASSPATH $fuzzer
Expand Down

0 comments on commit 65f0fc0

Please sign in to comment.