[
https://issues.apache.org/jira/browse/IGNITE-26863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034754#comment-18034754
]
Ignite TC Bot commented on IGNITE-26863:
----------------------------------------
{panel:title=Branch: [pull/12482/head] Base: [master] : Possible Blockers
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Platform .NET (Windows){color} [[tests 0 TIMEOUT , Exit Code
|https://ci2.ignite.apache.org/viewLog.html?buildId=8686329]]
{color:#d04437}Platform .NET (Core Linux){color} [[tests 0 TIMEOUT , Exit Code
, TC_SERVICE_MESSAGE
|https://ci2.ignite.apache.org/viewLog.html?buildId=8686331]]
{panel}
{panel:title=Branch: [pull/12482/head] Base: [master] : No new tests
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8684458&buildTypeId=IgniteTests24Java8_RunAll]
> Fix broken Binary Object size calculation for enum objects
> ----------------------------------------------------------
>
> Key: IGNITE-26863
> URL: https://issues.apache.org/jira/browse/IGNITE-26863
> Project: Ignite
> Issue Type: Task
> Reporter: Mikhail Petrov
> Assignee: Mikhail Petrov
> Priority: Minor
> Fix For: 2.18
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The problem can be reproduced with BinaryEnumsSelfTest.testInstanceFromBytes
> test.
> See
> https://ci2.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=991346249142798774&tab=testDetails
> The failures are caused by an incorrect implementation of the
> org.apache.ignite.internal.binary.BinaryEnumObjectImpl#size method, which
> actually reads random bytes from the heap - the enum is not serialized like a
> custom Java object (with header, footer, etc.), so using the
> GridBinaryMarshaller.TOTAL_LEN_POS offset will point beyond the bounds of the
> array that stores the serialized enum.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)