chaijunjie created PHOENIX-7526: ----------------------------------- Summary: [JDK23] Remove sun.misc.Unsafe in phoenix code Key: PHOENIX-7526 URL: https://issues.apache.org/jira/browse/PHOENIX-7526 Project: Phoenix Issue Type: Bug Components: core Affects Versions: 5.3.0 Reporter: chaijunjie
see [https://bugs.openjdk.org/browse/JDK-8323072] After JEP 471 sun.misc.Unsafe is deprecated....we should not use it or instead it... When I do test on JDK23, I found phoenix used sun.misc.Unsafe in [https://github.com/apache/phoenix/blob/cf3a8ac398f318d411eb369522600084164b7b97/phoenix-core-client/src/main/java/org/apache/phoenix/execute/DescVarLengthFastByteComparisons.java#L116] but not found where to use it, let us remove it.. -- This message was sent by Atlassian Jira (v8.20.10#820010)