Commit 5ebe5d2
authored
fix(java): fix register serializer for abstract class (#2347)
## What does this PR do?
fix register serializer for abstract class
## Related issues
#2345 #2311
## Does this PR introduce any user-facing change?
<!--
If any user-facing interface changes, please [open an
issue](https://github.com/apache/fory/issues/new/choose) describing the
need to do so and update the document if necessary.
-->
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
<!--
When the PR has an impact on performance (if you don't know whether the
PR will have an impact on performance, you can submit the PR first, and
if it will have impact on performance, the code reviewer will explain
it), be sure to attach a benchmark data here.
-->1 parent ff0ced5 commit 5ebe5d2
File tree
3 files changed
+50
-82
lines changed- java/fory-core/src
- main/java/org/apache/fory
- reflect
- resolver
- test/java/org/apache/fory/resolver
3 files changed
+50
-82
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
Lines changed: 11 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
751 | 757 | | |
752 | 758 | | |
753 | 759 | | |
| |||
860 | 866 | | |
861 | 867 | | |
862 | 868 | | |
863 | | - | |
| 869 | + | |
864 | 870 | | |
865 | 871 | | |
866 | 872 | | |
| |||
1295 | 1301 | | |
1296 | 1302 | | |
1297 | 1303 | | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
1301 | | - | |
1302 | | - | |
1303 | | - | |
1304 | | - | |
1305 | | - | |
1306 | 1304 | | |
1307 | 1305 | | |
1308 | 1306 | | |
| |||
1796 | 1794 | | |
1797 | 1795 | | |
1798 | 1796 | | |
1799 | | - | |
| 1797 | + | |
1800 | 1798 | | |
1801 | 1799 | | |
1802 | 1800 | | |
| |||
1977 | 1975 | | |
1978 | 1976 | | |
1979 | 1977 | | |
1980 | | - | |
| 1978 | + | |
1981 | 1979 | | |
1982 | 1980 | | |
1983 | 1981 | | |
| |||
Lines changed: 38 additions & 68 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
402 | 401 | | |
403 | 402 | | |
404 | 403 | | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
410 | 407 | | |
411 | 408 | | |
412 | 409 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
425 | 414 | | |
426 | 415 | | |
427 | 416 | | |
| |||
467 | 456 | | |
468 | 457 | | |
469 | 458 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
| 459 | + | |
| 460 | + | |
477 | 461 | | |
478 | 462 | | |
479 | 463 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
492 | 480 | | |
493 | 481 | | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
494 | 485 | | |
495 | 486 | | |
496 | 487 | | |
| |||
530 | 521 | | |
531 | 522 | | |
532 | 523 | | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
| 524 | + | |
| 525 | + | |
540 | 526 | | |
541 | 527 | | |
542 | 528 | | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
555 | 533 | | |
556 | 534 | | |
557 | 535 | | |
558 | 536 | | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
571 | 541 | | |
572 | 542 | | |
0 commit comments