Wicket
  1. Wicket
  2. WICKET-4743

SerializingObjectSizeOfStrategy do not use framework serializer

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 6.1.0, 1.5.9
    • Component/s: None
    • Labels:
      None

      Description

      Currently default implementation of SerializingObjectSizeOfStrategy do not use FrameworkSettings, thus it causes a ObjectNotSerializableException if serializer have custom behaviours.

        Activity

        Hide
        Martin Grigorov added a comment -

        Improved for org.apache.wicket.util.lang.WicketObjects.SerializingObjectSizeOfStrategy#sizeOf(Object).

        I've noticed that #cloneObject() and #cloneModel() also use custom logic but they have some optimizations related to OSGi. I'll leave them as they are because I cannot test them.

        Show
        Martin Grigorov added a comment - Improved for org.apache.wicket.util.lang.WicketObjects.SerializingObjectSizeOfStrategy#sizeOf(Object). I've noticed that #cloneObject() and #cloneModel() also use custom logic but they have some optimizations related to OSGi. I'll leave them as they are because I cannot test them.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Łukasz Dywicki
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development