jmockit / jmockit1

Advanced Java library for integration testing, mocking, faking, and code coverage
Other
458 stars 238 forks source link

mockUp error not running with version after 1.40 on JDK8 #746

Open pcouas opened 8 months ago

pcouas commented 8 months ago

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