chaokunyang commented on issue #2635:
URL: https://github.com/apache/fory/issues/2635#issuecomment-3316051084

   @dennishendriksen I tested with following class on graalvm25 on macos, 
everything works fine:
   
   ```java
     public record SequenceVariantAnnotationIndexBig(BigInteger[] 
encodedVariants) {
     }
   
     private static Fory createFory() {
       Fory fory =
           Fory.builder()
               .withName(RecordExample2.class.getName())
               .requireClassRegistration(true)
               .build();
       // register and generate serializer code.
       fory.register(java.math.BigInteger[].class, true);
       fory.register(SequenceVariantAnnotationIndexBig.class, true);
       return fory;
     }
   ```
   
   I guess you need to register `java.math.BigInteger[].class` too. It might be 
great if we can register it automatically.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to