stevenschlansker commented on code in PR #2250:
URL: https://github.com/apache/fury/pull/2250#discussion_r2101329750


##########
java/fury-format/src/main/java/org/apache/fury/format/encoder/RowEncoderBuilder.java:
##########
@@ -86,12 +90,19 @@ public RowEncoderBuilder(TypeRef<?> beanType) {
       // non-public class is not accessible in other class.
       clsExpr =
           new Expression.StaticInvoke(
-              Class.class, "forName", CLASS_TYPE, false, 
Literal.ofClass(beanClass));

Review Comment:
   `Class.forName` accepts a String literal, not a Class literal.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org
For additional commands, e-mail: commits-h...@fury.apache.org

Reply via email to