Skip to content

Commit 4155ae8

Browse files
author
emmanue1
committed
Fix generic cast expression
1 parent 14dffa0 commit 4155ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jd/core/v1/service/converter/classfiletojavasyntax/util/ByteCodeParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ private Expression newNewExpression(int lineNumber, String internalTypeName) {
17771777
} else if (declaration.getSuperType() != null) {
17781778
return new ClassFileNewExpression(lineNumber, declaration.getSuperType(), bodyDeclaration, true);
17791779
} else {
1780-
return new ClassFileNewExpression(lineNumber, ObjectType.TYPE_OBJECT, bodyDeclaration);
1780+
return new ClassFileNewExpression(lineNumber, ObjectType.TYPE_OBJECT, bodyDeclaration, true);
17811781
}
17821782
}
17831783
}

0 commit comments

Comments
 (0)