Skip to content

How about replacing java.lang.reflect call with org.springframework.util.ReflectionUtils #2027

Closed
@AntonLGVS

Description

@AntonLGVS

What do you think about making this replacement?
ReflectionUtils has a cache that allows you to reduce call to the Java Security Manager (Deprecated in Java 17).
As I understand it, this may allow better optimization for the Spring Native (and other Cloud Nantive).
And java.lang.reflect calls is low-level API.

Current classes having calls to java.lang.reflect:

  1. MappingElasticsearchConverter#populateScriptFields
  2. IndexBuilder#buildIndex

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions