title: NotSerializableException on HashMap
body: <p>I've a hash map like :
  <code>Map gen = HashMap&lt;Integer, MyObj&gt;</code></p>
  
  <p>When I execute <code>AccessController.doPrivileged(gen)</code>, it throws exception as follows. Can anyone help me on this. </p>
  
  <pre><code>java.security.PrivilegedActionException: java.io.NotSerializableException: java.util.HashMap
      at java.security.AccessController.doPrivileged(Native Method)...
  </code></pre>
  
  <p>This code is getting executed in <code>Weblogic</code> environment.</p>