I just tested your example. THIS compiles and works but when trying to add
a default (or static) i get the said errors. maybe the requestfactory apt
processor is not correctly updated to the new features?
I have checked that I have all gwt-* dependencies (including
requestfactory-apt and requestfactory-server) with version 2.8-rc1.
Am Mittwoch, 10. August 2016 18:25:05 UTC+2 schrieb Colin Alworth:
>
> Kay, can you offer a reproducible example of this, and confirm that you
> have no older copy of GWT (like gwt-user/gwt-dev from 2.8.0-beta1) on your
> classpath? To test this, I just built some quick autobeans in a simple
> project (so that I didn't need a full server to back it):
>
> public DefaultMethodInGeneratorTest implements EntryPoint {
> @Override
> public void onModuleLoad() {
> ABF abf = GWT.create(ABF.class);
> abf.bean().as().buildName();
> }
>
> public interface ABF extends AutoBeanFactory {
> AutoBean<SampleBean> bean();
> }
>
>
> public interface SampleBean {
> String getFirstName();
> String getLastName();
> default String buildName() {
> return getLastName() + ", " + getFirstName();
> }
> }
> }
>
> This compiles correctly (for me, with 2.8.0-RC1), even though in prior GWT
> versions you would need to list buildName() as a @Category.
>
> On Wed, Aug 10, 2016 at 3:13 AM Jens <[email protected] <javascript:>>
> wrote:
>
>>
>> If you feel strongly that something should make RC2 please raise this on
>>> this thread. I will be cutting RC2 tomorrow PST time.
>>>
>>
>> To avoid incorrect warnings:
>> https://gwt-review.googlesource.com/#/c/16540/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected]
>> <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/0f8eca73-e432-4074-bb26-019f12b724a3%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/0f8eca73-e432-4074-bb26-019f12b724a3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit-contributors/a9be92a9-ec07-4081-9c5c-51d676897769%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.