jmockit/jmockit1

mockUp error not running with version after 1.40 on JDK8

pcouas opened this issue · 0 comments

pcouas commented

Hi,

My current test on Java8 with logger not runnig after 1.40
Regards

new MockUp() {

    @Mock

void error(String format, Object... arguments) {
boolean isFirst = true;
for (Object arg : arguments) {
if (!isFirst) {
stringWriter.append("#");
}
stringWriter.append(String.valueOf(arg));
isFirst = false;
}
}
};