File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1515#
1616# ###############################################################################
1717
18- $GRADLE jar
18+ # Set encoding to UTF-8 for Java compilation
19+ export JAVA_TOOL_OPTIONS=" -Dfile.encoding=UTF-8"
20+
21+ # Build only Java 8/11/15 compatible versions, skip Java 21 tasks
22+ $GRADLE jar -x compileJava21Java -x java21Classes
1923find . -name " core*.jar" -exec cp {} $OUT /core.jar \;
2024find . -name " bcpkix*.jar" -exec cp {} $OUT /bcpkix.jar \;
2125find . -name " bcutil*.jar" -exec cp {} $OUT /bcutil.jar \;
@@ -33,7 +37,7 @@ RUNTIME_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "\$this_dir/%s:"):\$this_di
3337
3438for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
3539 fuzzer_basename=$( basename -s .java $fuzzer )
36- javac -cp $BUILD_CLASSPATH $fuzzer
40+ javac -encoding UTF-8 - cp $BUILD_CLASSPATH $fuzzer
3741 cp $SRC /$fuzzer_basename .class $OUT /
3842
3943
You can’t perform that action at this time.
0 commit comments