Skip to content

Commit

Permalink
Merge pull request #41251 from zakkak/2024-06-17-netty-jctools-warnin…
Browse files Browse the repository at this point in the history
…g-fix

Recompute unsafe ArrayIndexShift vallue in shaded jctools
  • Loading branch information
zakkak authored Jun 17, 2024
2 parents bf7eb28 + 91ddb6d commit 4b7e8c2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,14 @@ private static PrivateKey getPrivateKeyFromByteBuffer(ByteBuf encodedKeyBuf, Str
}
}

@TargetClass(className = "io.netty.util.internal.shaded.org.jctools.util.UnsafeLongArrayAccess")
final class Target_io_netty_util_internal_shaded_org_jctools_util_UnsafeRefArrayAccess {

@Alias
@RecomputeFieldValue(kind = RecomputeFieldValue.Kind.ArrayIndexShift, declClass = Object[].class)
public static int LONG_ELEMENT_SHIFT;
}

class IsBouncyNotThere implements BooleanSupplier {

@Override
Expand Down

0 comments on commit 4b7e8c2

Please sign in to comment.