at some point down the stack (`KotlinCopyMethod.ja...
# spring
t
at some point down the stack (
KotlinCopyMethod.java
) I get a call to this method
Copy code
private static Optional<Method> findSyntheticCopyMethod(Class<?> type) {

		return Arrays.stream(type.getDeclaredMethods()) //
				.filter(it -> it.getName().equals("copy$default") //
						&& Modifier.isStatic(it.getModifiers()) //
						&& it.getReturnType().equals(type))
				.filter(Method::isSynthetic) //
				.findFirst();
	}
but
type.getDeclaredMethods()
contains
public static Masterplan Masterplan.copy-Tarbdzk$default(Masterplan,java.lang.Integer,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,java.lang.Object)
->
Tarbdzk
????
s
Could you create an issue on https://jira.spring.io/projects/SPR/issues with a simple repro project on GitHub ?
t
@sdeleuze I was creating a sample application for this problem, but found out it was some misconfiguration in my original code. thanks for the help anyway, it drove me into the right direction 👍
s
Ok thanks for the feedback