linghengqian commented on code in PR #37733: URL: https://github.com/apache/shardingsphere/pull/37733#discussion_r2687002756
########## docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/development/_index.en.md: ########## @@ -354,7 +354,8 @@ without it being registered for runtime reflection. Add com.oracle.svm.core.code [email protected]/javax.management.StandardMBean.<init>(StandardMBean.java:268) ``` -The relevant warning cannot be avoided on `GraalVM CE For JDK 24.0.2`. -Because the no-argument constructor of `com.oracle.svm.core.code.CodeCachePoolMXBean` is marked as an element that is only visible during Native Image generation and cannot be used at Runtime, -regardless of the actual Platform, -through the Java class `org.graalvm.nativeimage.Platform.HOSTED_ONLY`. +The related warnings cannot be avoided at this time. +This is because the parameterless constructor of `com.oracle.svm.core.code.CodeCachePoolMXBean` is marked via the Java class `org.graalvm.nativeimage.Platform.HOSTED_ONLY` as an element visible only during Native Image generation and unusable at runtime, regardless of the actual Platform. Review Comment: Fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
