diff --git a/runtime/compiler/env/j9method.cpp b/runtime/compiler/env/j9method.cpp index fe10bebae19..a7bf86be8b7 100644 --- a/runtime/compiler/env/j9method.cpp +++ b/runtime/compiler/env/j9method.cpp @@ -4846,10 +4846,7 @@ TR_ResolvedJ9Method::methodModifiers() bool TR_ResolvedJ9Method::isConstructor() { - if (!TR::Compiler->om.areValueTypesEnabled()) - return (nameLength()==6 && !strncmp(nameChars(), "", 6)); - else - return (nameLength()==6 && !isStatic() && (returnType()==TR::NoType) && !strncmp(nameChars(), "", 6)); + return (nameLength()==6 && !strncmp(nameChars(), "", 6)); } bool TR_ResolvedJ9Method::isStatic() { return methodModifiers() & J9AccStatic ? true : false; }