ConfluenceEntityObject.log is not static?

XMLWordPrintable

      Trying to track down an issue in the upgrade of Subconf to conf 2.6, I saw that ConfluenceEntityObject.log is declared as

      protected final Logger log = Logger.getLogger(getClass());

      i.e. not static

      I don't have the source yet for 2.6 so couldn't see if this was deliberate, but it stuffs me trying to use XStream as a neat easy way to serialise objects because
      1. XStream now tries to serialize this object, which spews heaps of xml and an exception when you try to deserialize
      and
      2. the version of XStream in conf 2.6 doesnt have the XStream.omitField method

      Also aren't there performance implications of creating a log for every entity object?

      If this is deliberate, shouldn't the field be marked as transient?

              Assignee:
              Andrew Lynch (Inactive)
              Reporter:
              Jon Nermut
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: