You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by Adam Lewis <ma...@adamlewis.com> on 2007/08/15 16:59:40 UTC

JavaField in interfaces

Hi,
   I'm using JaxmeJS and am having trouble adding (static) fields to
interfaces.  It looks like the JavaField class can't handle interfaces.
Specifically, in version 0.5.2, JavaField.java at line 82:

if (pTarget.isInterface()) {
   return;
}

Shouldn't this be
    if (pTarget.isInterface() && !this.isStatic()) {
      return;
    }


Thanks,
Adam