This seems to tick apicheck in the wrong way:

$ ant apicheck
...

apicheck-nobuild:
     [java] Found 38 new resources
     [java] Found 38 new resources
     [java]
com.google.gwt.user.client.ui.MenuBar::addItem(Lcom/google/gwt/safehtml/shared/SafeHtml;Lcom/google/gwt/user/client/Command;)
OVERRIDABLE_METHOD_ARGUMENT_TYPE_CHANGE  at position 1 from interface
com.google.gwt.user.client.Command to interface
com.google.gwt.core.client.Scheduler.ScheduledCommand
     [java]
com.google.gwt.user.client.ui.MenuBar::addItem(Ljava/lang/String;Lcom/google/gwt/user/client/Command;)
OVERRIDABLE_METHOD_ARGUMENT_TYPE_CHANGE  at position 1 from interface
com.google.gwt.user.client.Command to interface
com.google.gwt.core.client.Scheduler.ScheduledCommand
     [java]
com.google.gwt.user.client.ui.MenuBar::addItem(Ljava/lang/String;ZLcom/google/gwt/user/client/Command;)
OVERRIDABLE_METHOD_ARGUMENT_TYPE_CHANGE  at position 2 from interface
com.google.gwt.user.client.Command to interface
com.google.gwt.core.client.Scheduler.ScheduledCommand
     [java] com.google.gwt.user.client.ui.MenuItem::getCommand()
OVERRIDABLE_METHOD_RETURN_TYPE_CHANGE  from interface
com.google.gwt.user.client.Command to interface
com.google.gwt.core.client.Scheduler.ScheduledCommand
     [java]
com.google.gwt.user.client.ui.MenuItem::setCommand(Lcom/google/gwt/user/client/Command;)
OVERRIDABLE_METHOD_ARGUMENT_TYPE_CHANGE  at position 0 from interface
com.google.gwt.user.client.Command to interface
com.google.gwt.core.client.Scheduler.ScheduledCommand
     [java] API compatibility check FAILED

BUILD FAILED
/usr/local/google/users/rchandia/src/gwt-trunk_Piper/google3/third_party/java_src/gwt/svn/trunk/build.xml:189:
Java returned: 1


http://gwt-code-reviews.appspot.com/1698803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to