-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
com.oracle.svm.core.jdk.UnsupportedFeatureError: OperatingSystemMXBean #3289
Comments
@RafaelCavazza thanks for reporting the issue |
@RafaelCavazza I tried a simple sysout with GraalVM CE 21.0.0.2 and it worked
output
|
Hi @mcraj017! Thanks for the response. I built the native-image using: Then a ran the binary using: My code:
The error:
|
@RafaelCavazza thanks I am able to reproduce it and it will be resolved in future releases |
Hi guys! Any update on this issue? This will enable us to send environment metrics with OpenTelemetry using the native image. |
hi @mcraj017 any ETA of this fix? Is there a potential work around? |
We are trying to collect some runtime and system metrics using the com.sun.management.OperatingSystemMXBean.
Stack Trace:
Our code:
GraalVM Version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment GraalVM CE 21.0.0.2 (build 11.0.10+8-jvmci-21.0-b06)
OpenJDK 64-Bit Server VM GraalVM CE 21.0.0.2 (build 11.0.10+8-jvmci-21.0-b06, mixed mode, sharing)
Enviroment:
The text was updated successfully, but these errors were encountered: