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

Test fails in nativeTest profile with Jextract dependencies #44268

Open
rbarriuso opened this issue Feb 13, 2025 · 2 comments
Open

Test fails in nativeTest profile with Jextract dependencies #44268

rbarriuso opened this issue Feb 13, 2025 · 2 comments
Labels
status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged

Comments

@rbarriuso
Copy link

I'm working in a project which combines Spring Boot 3.4 with GraalVM native build, Jextract and Foreign Function & Memory API (Project Panama).

When I build and run my JUnit tests, it works in normal mode, but I can't make it work in native mode (Spring's "nativeTest" profile). The last error that I got was:

java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)

See a minimal reproducible example at https://github.com/rbarriuso/junit-native-sample

Full error at https://github.com/rbarriuso/junit-native-sample/blob/main/error.log

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 13, 2025
@bclozel
Copy link
Member

bclozel commented Feb 13, 2025

This looks quite similar to raphw/byte-buddy#1603

Did find any information pointing to this being supported on GraalVM?

@bclozel bclozel added the status: waiting-for-feedback We need additional information before we can continue label Feb 13, 2025
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

3 participants