Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-452

Collection with wildcard element type causes invalid server marshalling class to be generated

    XMLWordPrintable

    Details

      Description

      This class:

      public class EntityWithGenericCollections {
      private List<? extends String> listWithWildcardElementType;
      }

      causes this error at compile time:

      ERROR in /Users/jfuerth/git/errai/errai-bus/target/jfuerth/errai/54885013d5cabb07713c884a93d8133e1f67e/errai.gen/classes/org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl.java (at line 3)
      import ? extends java.lang.? extends String;
      ^^^^^^^^^
      Syntax error on tokens, delete these tokens

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jfuerth Jonathan Fuerth
                Reporter:
                jfuerth Jonathan Fuerth
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: