Skip to content
Permalink
Browse files

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 7dee0c2967c6ba5fc7f2ef0052649d7c22e7c714
@@ -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;
}
}

0 comments on commit 7dee0c2

Please sign in to comment.
You can’t perform that action at this time.