title: GWT 2.7 errors after upgrade: method cast is undefined
body: <p>I just upgraded from GWT 2.6 to 2.7. No errors in Eclipse but when I debug with superdevmode the compile to JavaScript now throws hordes of errors. A prominent one is of this type: This line:</p>
  
  <pre><code>final HttpServletResponse response = HttpServletResponse.class.cast( servletResponse );
  </code></pre>
  
  <p>...now throws "The method cast(ServletRequest) is undefined for the type Class.</p>
  
  <p>It works if I change the line to </p>
  
  <pre><code>final HttpServletResponse response = (HttpServletResponse) servletResponse ;
  </code></pre>
  
  <p>...but before wholesale changes it would be nice to know why it quit working!</p>
  
  <p>Another prominent one is that it now complains that I need a &lt; source > directive for my server-side stuff because it's not living underneath a subpackage called 'client'. </p>
  
  <p>Any insights on either of these are much appreciated. Thanks-</p>