Thursday, October 29, 2015

JsInterop JS_RC JsProperty name on method

Hi all,

Is seems like the following construction is not working when using the new JsInterop (JS_RC):

  @JsProperty(name = "facets")
  public Facet[] getFacetArray() { ... }

  @Override // This method is defined in an interface
  public List<Facet> getFacets() { ... }

The result is that the compiled property is still called facetArray.

Does anyone perhaps have any suggestions of how to work around this or why it is not working? If not, I will raise an issue in the GWT bug tracker, but I wanted to check here first.


You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment