Skip to content

Move classpath checks to class member variable #11437

Closed
@marcusdacoregio

Description

@marcusdacoregio

This commit spring-projects/spring-framework@22a750f which is now merged in Spring Framework main, added a GraalVM feature that makes constant at build-time 2 type of fields:

  • NativeDetector#imageCode
  • Static fields with a name ending by Present in org.springframework package that are typically used for classpath check with ClassUtils#isPresent

See:

That said, we should go throughout the codebase and make sure we follow that convention

Metadata

Metadata

Labels

in: configAn issue in spring-security-configtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions