Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pcouas opened this issue Nov 1, 2023 · 0 comments
Open

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

pcouas opened this issue Nov 1, 2023 · 0 comments

Comments

@pcouas
Copy link

pcouas commented Nov 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant