You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2010/11/25 01:11:16 UTC

[jira] Resolved: (WICKET-3193) SerializableChecker writeObjectMethodCache Map never holds a Method

     [ https://issues.apache.org/jira/browse/WICKET-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl resolved WICKET-3193.
--------------------------------

    Resolution: Fixed

Fixed in trunk.

Thank you!

> 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
>            Assignee: Peter Ertl
>            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.