SerializableChecker writeObjectMethodCache  Map never holds a Method
--------------------------------------------------------------------

                 Key: WICKET-3193
                 URL: https://issues.apache.org/jira/browse/WICKET-3193
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M3
         Environment: All
            Reporter: Richard Emberson
            Priority: Minor


In the SerializableChecker the Map writeObjectMethodCache never holds any
Method objects. In the internalCheck method, there is the following code:

      Method writeObjectMethod = null;
      Object o = writeObjectMethodCache.get(cls);
      if (o != null)
      {
        if (o instanceof Method)
        {
          writeObjectMethod = (Method)o;
        }
      }
      else
      { .... }

No where is a Method ever put into the writeObjectMethodCache Map so the
instanceof test always fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to