diff --git a/core/src/main/java/lucee/transformer/dynamic/meta/FunctionMember.java b/core/src/main/java/lucee/transformer/dynamic/meta/FunctionMember.java index 3687118e9b..3d1ba554b7 100644 --- a/core/src/main/java/lucee/transformer/dynamic/meta/FunctionMember.java +++ b/core/src/main/java/lucee/transformer/dynamic/meta/FunctionMember.java @@ -59,7 +59,8 @@ public static String createClassPath(FunctionMember fm) { // sbClassPath.append(getDeclaringClassName().replace('.', '/')).append('/').append(isConstr ? // "____init____" : fm.getName()); sbClassPath.append(fm.getDeclaringClassName().replace('.', '/')).append('/'); - if (fm.getName() == null) sbClassPath.append("____init____"); + + if (fm instanceof Constructor) sbClassPath.append("____init____"); else sbClassPath.append(fm.getName()); if (fm.getArgumentCount() > 0) { diff --git a/loader/build.xml b/loader/build.xml index bac1c48504..76046476e0 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index 79f7ecd567..74f42f6f94 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.2.0.221-SNAPSHOT + 6.2.0.222-SNAPSHOT jar Lucee Loader Build