title: Android 3.1 VerifyError
body: <p>I am running into a VerifyError after updating my Xoom to 3.1.  Here is the code that seems to be causing it.</p>
  
  <pre><code>public boolean goBack()
  {
          if(_overlay == null || _pdfView == null) return false;
  
          _overlay.removeView(_pdfView);
          _overlay = null;
          _pdfView = null;
  
          return true;
  }
  </code></pre>
  
  <p>Where <code>_overlay</code> is a <code>FrameLayout</code> and <code>_pdfView</code> is a class for rendering PDF documents that extends <code>RelativeLayout</code>.  Here is the error that I get.</p>
  
  <pre><code>05-17 11:26:30.532: WARN/dalvikvm(14244): VFY: Ljava/lang/Object; is not instance of Landroid/view/View;
  05-17 11:26:30.532: WARN/dalvikvm(14244): VFY: bad arg 1 (into Landroid/view/View;)
  05-17 11:26:30.532: WARN/dalvikvm(14244): VFY:  rejecting call to Landroid/view/ViewGroup;.removeView (Landroid/view/View;)V
  05-17 11:26:30.532: WARN/dalvikvm(14244): VFY:  rejecting opcode 0x6e at 0x000f
  05-17 11:26:30.532: WARN/dalvikvm(14244): VFY:  rejected Lcom/bluediesel/shell/utils/JavaScriptInterface;.goBack ()Z
  05-17 11:26:30.532: WARN/dalvikvm(14244): Verifier rejected class Lcom/bluediesel/shell/utils/JavaScriptInterface;
  05-17 11:26:30.532: DEBUG/AndroidRuntime(14244): Shutting down VM
  05-17 11:26:30.532: WARN/dalvikvm(14244): threadid=1: thread exiting with uncaught exception (group=0x401e2760)
  ...
  05-17 11:26:30.542: ERROR/AndroidRuntime(14244): Caused by: java.lang.VerifyError: com.bluediesel.shell.utils.JavaScriptInterface
  05-17 11:26:30.542: ERROR/AndroidRuntime(14244):     at com.bluediesel.shell.utils.BDWebViewClient.&lt;init&gt;(BDWebViewClient.java:15)
  05-17 11:26:30.542: ERROR/AndroidRuntime(14244):     at com.bluediesel.shell.view.BDWebView.&lt;init&gt;(BDWebView.java:56)
  05-17 11:26:30.542: ERROR/AndroidRuntime(14244):     at com.bluediesel.shell.view.BDWebView.&lt;init&gt;(BDWebView.java:42)
  05-17 11:26:30.542: ERROR/AndroidRuntime(14244):     ... 24 more
  </code></pre>
  
  <p>If I comment out the <code>_overlay.removeView(_pdfView);</code> line it works fine.  It's like it doesn't know that PdfView is a subclass of View.  PdfView is in a library.  Could that have anything to do with it?</p>