incubator-wave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vicente J. Ruiz Jurado" <v...@ourproject.org>
Subject gwt 2.7 and Profiling (WIP)
Date Sat, 06 Dec 2014 13:14:07 GMT
Hi there,

I'm trying to update wave to gwt 2.7. There the superdev mode is very
improved (among other things).

The mainly problem that I found is this with the new profiling
functionality:
           [ERROR] Errors in '/org/waveprotocol/box/stat/Statistic.java'
               [ERROR] Line 108: The method getDeclaredFields() is
undefined for the type Class<capture#1-of ?>
         [ERROR] Hint: Your source appears not to live underneath a
subpackage called 'client'; no problem, but you'll need to use the
<source> directive in your module to make it accessible

gwt 2.7 reflection fails with getDeclaredFields. Seems that this package
org.waveprotocol.box.stat is shared between server and client, but now
fails in client side.

Attached a work in progress patch above
  https://reviews.apache.org/r/28724/
with the failing part commented if someone want to continue this work
(maybe akaplanov can give some advice).

In this patch, gwt 2.7 compilation and superdev works in the different
dev modes (with ant superdev-gwt you can refresh and see you changes in
your code with a fast and partial compilation). Note: gwt 2.7 uses asm
5.X so I've added as a dependency.

BR,

Vicente


Mime
View raw message