Skip to content

Commit fbdc5da

Browse files
authored
jvm: Fix more project build (#13065)
This PR fixes more project build of JVM projects following FI updates. --------- Signed-off-by: Arthur Chan <[email protected]>
1 parent 7b50b80 commit fbdc5da

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

projects/angus-mail/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/json-java/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
2424
RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):.:\$this_dir
2525

2626
# Let's try and build a simple fuzzer.
27-
for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
27+
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
2828
fuzzer_basename=$(basename -s .java $fuzzer)
2929
javac -cp $BUILD_CLASSPATH $fuzzer
3030
cp $SRC/$fuzzer_basename.class $OUT/

projects/json-sanitizer/build.sh

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

44-
for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
44+
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
4545
fuzzer_basename=$(basename -s .java $fuzzer)
4646
javac -cp $BUILD_CLASSPATH $fuzzer
4747
cp $SRC/$fuzzer_basename.class $OUT/

projects/xmlpull/build.sh

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

65-
for fuzzer in $(find $SRC -name '*Fuzzer.java'); do
65+
for fuzzer in $(find $SRC -maxdepth 1 -name '*Fuzzer.java'); do
6666
fuzzer_basename=$(basename -s .java $fuzzer)
6767
javac -cp $BUILD_CLASSPATH $fuzzer
6868
cp $SRC/$fuzzer_basename.class $OUT/

projects/zxing/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)