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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: 2.0.0.M2
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: