Skip to content

Commit 2394deb

Browse files
committed
test(java): enable ref copy for non-serializable JDK class copy test
1 parent 451b2b0 commit 2394deb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

java/fory-core/src/test/java/org/apache/fory/ForyCopyTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ public void testCopyNonSerializableJdkClass(){
462462

463463
Fory fory = Fory.builder()
464464
.withLanguage(Language.JAVA)
465+
.withRefCopy(true)
465466
.requireClassRegistration(false)
466467
.build();
467468
Package pkg = String.class.getPackage();

0 commit comments

Comments
 (0)