This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 356
Native-tests are broken with GraalVM 22.1 #1561
Labels
type: compatibility
Native image compatibility issue
Milestone
Comments
It seems that the |
Even when including all proxied interfaces via the following configuration, it still fails:
I used this
|
Could you try to see if we can exclude it via |
mhalbritter
added a commit
to mhalbritter/spring-native
that referenced
this issue
Mar 31, 2022
- The failures occur because MockitoTestExecutionListener and ResetMocksTestExecutionListener tried to initialize Mockito, which isn't supported yet. - This change ignores both listeners when running in AOT mode Closes spring-atticgh-1561
mhalbritter
added a commit
to mhalbritter/spring-native
that referenced
this issue
Mar 31, 2022
- The failures occur because MockitoTestExecutionListener and ResetMocksTestExecutionListener tried to initialize Mockito, which isn't supported yet. - This change ignores both listeners when running in AOT mode Closes spring-atticgh-1561
#1562 fixes this issue by using |
sdeleuze
pushed a commit
that referenced
this issue
Mar 31, 2022
- The failures occur because MockitoTestExecutionListener and ResetMocksTestExecutionListener tried to initialize Mockito, which isn't supported yet. - This change ignores both listeners when running in AOT mode Closes gh-1561
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Running for example the tests in
commandlinerunner
viamvn test -Pnative
Working version:
Working output
Broken version (built from oracle/graal@3eb1d11):
Broken output
Main problem seems to be
The text was updated successfully, but these errors were encountered: