Folks,
I've been using 1.5rc1 for a while to develop a project, and it's
been working fine. When RC2 came out, I figured I should give it a
try. Lo and behold, my GWTCompiler task now fails as follows:
gwt-compile:
[java] Removing units with errors
[java] [ERROR] Errors in 'file:/C:/Documents%20and%20Settings/
kfiles/workspace/yalta/src/com/masergy/yalta/client/controller/
BundleSelectorAction.java'
[java] [ERROR] Line 102: The method subList(int, int) is
undefined for the type List<Bundle>
The code in question is below, a perfectly valid snippet in java
JDK1.5:
Services.YALTA.findBundles(c.getCustId(), 0, 50,
new AsyncCallback<List<Bundle>>() {
public void onSuccess(List<Bundle> rv) {
if (null == rv)
return;
EventMapper.getInstance().fireEvent(EventMapper.SERVER_DONE,
new ServerRequestEvent());
if (rv.size() > 0) {
table.setModel(rv);
EventMapper.getInstance().fireEvent(EventMapper.BUND_SEL,
rv.get(0));
Lien 102>> table.setSelected(rv.subList(0, 1));
}
}
public void onFailure(Throwable caught) {
Window.alert("Failure " + caught);
}
});
Did the emulation classes change between RC1 and RC2 for some reason?
Thanks,
--kirby
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---