mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 17:09:05 +00:00
Efficient Kotlin metadata detection
Issue: SPR-15673
This commit is contained in:
@@ -59,7 +59,7 @@ import org.springframework.util.ClassUtils;
|
||||
public class MethodParameter {
|
||||
|
||||
private static final boolean kotlinPresent =
|
||||
ClassUtils.isPresent("kotlin.Unit", MethodParameter.class.getClassLoader());
|
||||
ClassUtils.isPresent("kotlin.Metadata", MethodParameter.class.getClassLoader());
|
||||
|
||||
|
||||
private final Executable executable;
|
||||
|
||||
Reference in New Issue
Block a user