From a6d34572d6aeec7e428014407d3c976668e30604 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Fri, 20 Dec 2024 10:36:17 +0100 Subject: [PATCH] LDEV-5220 - fixing regression --- .../transformer/dynamic/meta/dynamic/ClazzDynamic.java | 6 ++---- loader/build.xml | 2 +- loader/pom.xml | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java b/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java index ac49c8c769..fcfb3f5943 100644 --- a/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java +++ b/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java @@ -322,8 +322,7 @@ public Method getMethod(String methodName, Object[] args, boolean nameCaseSensit Method method = getMethod(methodName, args, nameCaseSensitive, convertArgument, convertComparsion, null); if (method != null) return method; - throw new NoSuchMethodException( - "No matching method for " + clazz.getDeclaringClass().getName() + "." + methodName + "(" + Reflector.getDspMethods(Reflector.getClasses(args)) + ") found."); + throw new NoSuchMethodException("No matching method for " + clazz.getName() + "." + methodName + "(" + Reflector.getDspMethods(Reflector.getClasses(args)) + ") found."); } @Override @@ -452,8 +451,7 @@ public Constructor getConstructor(Object[] args, boolean convertArgument, boolea Constructor constructor = getConstructor(args, convertArgument, convertComparsion, null); if (constructor != null) return constructor; - throw new NoSuchMethodException( - "No matching Constructor for " + clazz.getDeclaringClass().getName() + "(" + Reflector.getDspMethods(Reflector.getClasses(args)) + ") found."); + throw new NoSuchMethodException("No matching Constructor for " + clazz.getName() + "(" + Reflector.getDspMethods(Reflector.getClasses(args)) + ") found."); } @Override diff --git a/loader/build.xml b/loader/build.xml index dfa8f30670..bfe33aa7ab 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index d8692592b8..122a325e0a 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.2.0.235-SNAPSHOT + 6.2.0.236-SNAPSHOT jar Lucee Loader Build