Eclipse plugin invalid errors in JSNI methods

0 views
Skip to first unread message

Clive Cox

unread,
Jun 26, 2009, 12:36:52 PM6/26/09
to Google Web Toolkit
In Eclipse 3.4.1 with latest Google plugin I get errors showing for
String arguments in JSNI methods.
Eclipse shows an error that the method does not exist even when it
does.

For example:

public native void setupDelegatorSetTags() /*-{
$wnd.setRexTags = function(tags) {
@example.client.App::setTags(Ljava/lang/String;)(tags);
}
}-*/;

Any ideas anybody?

Miguel Méndez

unread,
Jun 26, 2009, 1:23:47 PM6/26/09
to Google-We...@googlegroups.com
What does the java declaration for the setTags method look like?
--
Miguel

Clive Cox

unread,
Jun 29, 2009, 4:41:34 AM6/29/09
to Google Web Toolkit

public static void setTags(String tags)

Miguel Méndez

unread,
Jun 29, 2009, 8:34:00 AM6/29/09
to Google-We...@googlegroups.com
Unfortunately, I cannot reproduce the problem.  However, could you create an issue in the GWT issue tracker and attach sample code that reproduces the problem?
--
Miguel
Reply all
Reply to author
Forward
0 new messages