[
https://issues.apache.org/jira/browse/IGNITE-25012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikolay Izhikov resolved IGNITE-25012.
--------------------------------------
Resolution: Fixed
> GridToStringBuilder: extract GridUnsafe operations
> ---------------------------------------------------
>
> Key: IGNITE-25012
> URL: https://issues.apache.org/jira/browse/IGNITE-25012
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Major
> Labels: ise
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> GridToStringBuilder contains some GridUnsafe invocation.
> To be able to extract it into ignite-commons we must refactor it.
> 1. Create methods `getBooleanField`, `getObjectField` and similar inside
> GridToStringFieldDescriptor.
>
> 2. GridToStringFieldDescriptor instance must be created by some mutable
> factory
> 3. By default, new methods must be implement with the regular reflection API.
> 4. ignite-core must keep `UnsafeGridToStringFieldDescriptor` which will use
> existing Unsafe logic.
> This way we can safely move GridToStringBuilder without dependencies on
> GridUnsafe code
--
This message was sent by Atlassian Jira
(v8.20.10#820010)