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

[GraalVM 21.3.0.r17] Kogito quickstarts build failure with Java 17 #991

Closed
Tracked by #21481
cescoffier opened this issue Nov 15, 2021 · 4 comments
Closed
Tracked by #21481
Labels
bug Something isn't working

Comments

@cescoffier
Copy link
Member

When using the Java 17 support of GraalVM 21.3.0, multiple Kogito quickstarts fail:

  • kogito-drl-quickstart - Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util.
  • kogito-pmml-quickstart - com.oracle.svm.core.util.UserError$UserException: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.io.FilePermission.
  • kogito-quickstart - Test failure (JVM mode)
@cescoffier cescoffier added the bug Something isn't working label Nov 15, 2021
@jerboaa
Copy link

jerboaa commented Mar 25, 2022

@cescoffier Could you please provide exact steps how to reproduce the kogito-drl-quickstartand kogito-pmml-quickstart issues?

@cescoffier
Copy link
Member Author

I just ran mvn verify -Pnative with GRAALVM_HOME pointing to a java 17 graalvm/mandrel.

BTW, these issues may have been fixed.

@jerboaa
Copy link

jerboaa commented Mar 25, 2022

I just ran mvn verify -Pnative with GRAALVM_HOME pointing to a java 17 graalvm/mandrel.

OK, thanks. I just did and it didn't reproduce.

BTW, these issues may have been fixed.

It looks like to me from where I'm standing. So perhaps this issue needs closing? Tried with 21.3.1 JDK 17 mandrel release.

@cescoffier
Copy link
Member Author

Yes, I just verified it. Seems to work as expected now!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants