-
Notifications
You must be signed in to change notification settings - Fork 53
Compile Error with GWT 2.8 #135
Comments
Hi Mark, gwt-d3 latest release is not GWT 2.8 compatible. @anthonime has made some changes in the branch gwt2.8 to make it compatible. It hasn't been released yet mostly because of Google App Engine (our demo host) was not java 8 compatible. AFAIK, this is still the case. Feel free to try this branch in your project and give us feedback. Cheers, |
I tried the gwt2.8 branch (after rebasing on master). This particular error is not fixed yet on the gwt2.8 branch when compiling against gwt-2.8.0-rc1 which was released a few days ago (July 29). If I just remove the problem line (well, two lines), everything seems to work ok, but I'm not positive that this is the right change. |
This issue still exists for GWT 2.8.0-RC2. |
I did not have time to check the GWT 2.8 related snapshot but I assume that the above issue relates to the following (see also GWT 2.8.0-RC1 Release notes): JSNI disallows method references to Double, String, Boolean and its super types: gwtproject/gwt#9356.
As this code is also available in the GWT 2.8 enabled branch I assume that we are facing the same issue. GWT 2.8. beta1 will be ok, GWT 2.8. rc1 and rc2 not. |
|
AppEngine supports Java 8 now (for some time); Can we upgrade to GWT 2.8 (and maybe also to D3 4.x)? |
Hi,
with GWT 2.8-SNAPSHOT (not Beta1) I currently get the following compile error:
[INFO] Compiling module com.bearingpoint.davinci.gui.Banking [INFO] Errors in com/github/gwtd3/api/core/Value.java [INFO] [ERROR] Line 249: Method 'boolean Boolean.booleanValue()' is implemented by devirtualized type 'Boolean' JSO and can only be used in calls within a JSNI method body.
Is there a chance to fix it?
BR,
Mark
The text was updated successfully, but these errors were encountered: