Loognqiang commented on code in PR #618:
URL: https://github.com/apache/geaflow/pull/618#discussion_r2348473732
##########
geaflow/geaflow-common/src/main/java/org/apache/geaflow/common/binary/BinaryOperations.java:
##########
@@ -21,11 +21,10 @@
import java.lang.reflect.Field;
import java.lang.reflect.Method;
-import sun.misc.Unsafe;
public class BinaryOperations {
- private static final Unsafe UNSAFE;
+ private static final sun.misc.Unsafe UNSAFE;
Review Comment:
The sun.misc.Unsafe class is present in JDK 11 but belongs to the
jdk.unsupported module. We can allow the current code to run on JDK 11 by
adding specific JVM arguments. For JDK 17+ versions, we will directly adopt new
standard APIs.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]