Skip to content

Commit d647580

Browse files
authored
JVM: Fix project build (#13096)
This PR fixes more JVM project build failed for FI. Signed-off-by: Arthur Chan <[email protected]>
1 parent 7726a19 commit d647580

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

projects/apache-commons-cli/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
3131
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
3232
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_dir
3333

34-
for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
34+
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
3535
fuzzer_basename=$(basename -s .java $fuzzer)
3636
javac -cp $BUILD_CLASSPATH $fuzzer
3737
cp $SRC/$fuzzer_basename.class $OUT/

projects/apache-commons-io/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
3232
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
3333
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_dir
3434

35-
for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
35+
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
3636
fuzzer_basename=$(basename -s .java $fuzzer)
3737
javac -cp $BUILD_CLASSPATH $fuzzer
3838
cp $SRC/$fuzzer_basename.class $OUT/

projects/snakeyaml/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
3232
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
3333
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_dir
3434

35-
for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
35+
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
3636
fuzzer_basename=$(basename -s .java $fuzzer)
3737
javac -cp $BUILD_CLASSPATH $fuzzer
3838
cp $SRC/$fuzzer_basename.class $OUT/

projects/stringtemplate4/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
3434
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
3535
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_dir
3636

37-
for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
37+
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
3838
fuzzer_basename=$(basename -s .java $fuzzer)
3939
javac -cp $BUILD_CLASSPATH $fuzzer
4040
cp $SRC/$fuzzer_basename.class $OUT/

0 commit comments

Comments
 (0)