Nikolay Izhikov created IGNITE-25012:
----------------------------------------

             Summary: 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


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)

Reply via email to