Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't used ReflectiveOperationException
Using ReflectiveOperationException breaks Java 6 runtime compatibility.

[FIXED JENKINS-30857]

Change-Id: Ic8c88102cf9ef3a3286f5311d1b3ed661ac2d77c
  • Loading branch information
dpursehouse committed Mar 8, 2016
1 parent 963b25f commit 7dee0c2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -261,7 +261,7 @@ private void setOrCreateParameterValue(List<ParameterValue> parameters, String v
constructor = clazz.getConstructor(types);
parameter = constructor.newInstance(args);
parameters.add(parameter);
} catch (ReflectiveOperationException ex) {
} catch (Exception ex) {
parameter = null;
}
}
Expand Down

0 comments on commit 7dee0c2

Please sign in to comment.