jbertram commented on PR #6021:
URL:
https://github.com/apache/activemq-artemis/pull/6021#issuecomment-3468627995
@franz1981, on Java 25 with Netty 4.2.7 we're seeing this:
```java.lang.IndexOutOfBoundsException
at java.base/java.nio.Buffer$1.apply(Buffer.java:756)
at java.base/java.nio.Buffer$1.apply(Buffer.java:753)
at
java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
at
java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
at
java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
at
java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
at
java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
at java.base/java.nio.Buffer.checkIndex(Buffer.java:767)
at java.base/java.nio.DirectByteBuffer.put(DirectByteBuffer.java:373)
at
org.apache.activemq.artemis.utils.ByteUtil.uncheckedZeros(ByteUtil.java:515)
at org.apache.activemq.artemis.utils.ByteUtil.zeros(ByteUtil.java:497)
at
org.apache.activemq.artemis.utils.ByteUtilTest.shouldZeroesByteBuffer(ByteUtilTest.java:176)
at
org.apache.activemq.artemis.utils.ByteUtilTest.shouldZeroesLimitedDirectByteBuffer(ByteUtilTest.java:234)```
The `org.apache.activemq.artemis.utils.ByteUtil.uncheckedZeros` is something
you wrote 7 years ago and at first glance it looks like the dark arts. Do you
have any idea why this would be failing?
--
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]
For further information, visit: https://activemq.apache.org/contact