You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
After this refresh scope issue was fixed, I was able to get passed the error with a native build but if I tried to build and run the aot enabled jar in java, it didn't work, but it worked in a maven reproducer project. I believe the issue has to do with the classpath in the gradle produced jar. I think the maven plugin puts aot files in BOOT-INF/classes (before the jars) and the gradle plugin adds a jar projectname-aot.jar but it is listed last in the classpath.idx file.
You can see the maven build and gradle build in the Github Actions workflow or you can run ./test-maven.sh and ./test-gradle.sh to see the problem locally. The gradle built jar doesn't start up b/c some AOT code doesn't override the regular code.
A similar problem was fixed for tests by this issue: #1272 fixed by eba6bc4