aboutsummaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorDominik Stadler <dominik.stadler@gmx.at>2021-11-29 07:55:29 +0100
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-11-30 13:15:20 +0100
commitbd6b2d196e96899c2fb1ed7193cb994a6746d2d6 (patch)
tree03dd4965dbe348b25e4c5ffdcc68e6ca98e61bfa /driver
parent9ef9a9de10f59b19de29d695315946f160a8796a (diff)
downloadjazzer-api-bd6b2d196e96899c2fb1ed7193cb994a6746d2d6.tar.gz
Make crash-reproducers compile properly
There is a nested catch in the crash-template which uses the same name "ignored" for the caught Exception as the catch on the outer level. This does not compile in Java and thus currently requires changes to crash-reproducers. When using a unique name, this is resolved.
Diffstat (limited to 'driver')
-rw-r--r--driver/java_reproducer_templates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/java_reproducer_templates.h b/driver/java_reproducer_templates.h
index 075c8560..7d58e1fa 100644
--- a/driver/java_reproducer_templates.h
+++ b/driver/java_reproducer_templates.h
@@ -34,7 +34,7 @@ public class Crash_$0 {
try {
Method fuzzerInitialize = $2.class.getMethod("fuzzerInitialize", String[].class);
fuzzerInitialize.invoke(null, (Object) args);
- } catch (NoSuchMethodException ignored) {
+ } catch (NoSuchMethodException ignored1) {
} catch (IllegalAccessException | InvocationTargetException e) {
e.printStackTrace();
System.exit(1);