I refactor it as ```java try { byte[] b = InstantiationUtil.serializeObject(parameter); final ParameterTool copy = InstantiationUtil.deserializeObject(b, getClass().getClassLoader()); internalValidate(copy); } catch (Exception e) { e.printStackTrace(); Assert.fail(e.getMessage()); } ```
this keeps the root cause and save us from modify signature of methods calling `AbstractParameterToolTest#validate`. If you prefer to propagate it, I am not opposite to it. [ Full content available at: https://github.com/apache/flink/pull/6737 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org