Abstract class extending another abstract class...

30 views
Skip to first unread message

David La Motta

unread,
Oct 21, 2012, 10:43:53 AM10/21/12
to gwtex...@googlegroups.com
Hi all... as I continue to learn about GWT-Exporter, I've hit another problem:

public abstract ChildAbstractClass extends ParentAbstractClass implements Exportable {
   public ChildAbstractClass() {
   }
   ...
}

public abstract ParentAbstractClass {
   // no zero-arg constructor
   ...
   public static final class ParentAbstractJSO extends JavaScriptObject {
      ...
   }
}


So I have a child abstract class that extends another abstract class, as you can see.  ParentAbstractClass is from the project currently being extended, per the "best practices" on how to export a GWT project.  ParentAbstractClass is a JSO wrapper, as you can see.

Problem is, when I compile, I get:

[ERROR] Line 17: Referencing method 'lienzo.client.core.types.ChildAbstractClassExporterImpl.___create()': unable to resolve method

I don't really want to implement the ExportOverlay mechanism, because of the wrapped JSO (ParentAbstractJSO)--I really don't know how I would go about that, so I opted for not using ExportOverlay. I read in the documentation that abstract classes should be able to be exported, so I am a bit curious to know what could be causing the above scenario to fail.  The child class extends the parent, and it includes a zero-arg constructor.  All annotations are set to export everything (all=true) in the parent class, too.

Thanks for the help, beforehand.

// David

Manuel Carrasco Moñino

unread,
Oct 22, 2012, 3:59:46 AM10/22/12
to gwtex...@googlegroups.com
which version of gwtexporter are you using?

--
 
 

David La Motta

unread,
Oct 22, 2012, 9:31:37 AM10/22/12
to gwtex...@googlegroups.com
2.5 Snapshot from Sept. 17


--
 
 

David La Motta

unread,
Oct 25, 2012, 10:45:14 AM10/25/12
to gwtex...@googlegroups.com
Should be noted that with 2.4 it's also failing.

Any ideas, Manolo?

// David
Reply all
Reply to author
Forward
0 new messages