Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3724

Antlr shows error when interface extends more than one element or extends generic type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.0.0.M1
    • 2.0.0.M2
    • None
    • None

    Description

      Spring Roo Shell generates an interface that extends more than one interface. One of the extended elements is a generic interface. That extends elements are registered on .aj files. When developer execute push-in operation (ROO-3678), all elements generated on .aj files will be pushed in .java file. The interface generated above shows like the following after apply push-in operations:

      public interface ProductRepository extends JpaRepository<Product, Long>, ProductRepositoryCustom {
      }
      

      Now, Spring Roo Shell prints the following error produced by ANTLR.

      line 7:66 mismatched input ',' expecting {'.', 'implements', '{', '['}
      

      Attachments

        Activity

          People

            jcgarcia Juan Carlos García del Canto
            jcgarcia Juan Carlos García del Canto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: