Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-11081

Exponential behaviour in error reporting

    XMLWordPrintableJSON

Details

    Description

      This might be a rare scenario to appear in practice but I notice that there's an exponential behaviour in error reporting.

      Particularly, the following code

      class Main {
        static final void test() {
          org.apache.commons.collections4.iterators.ZippingIterator<
            org.apache.commons.collections4.iterators.ZippingIterator<String>
          > x = null;
        }
      }
      

      produces:

      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<String>
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 5, column 7.
             > x = null;
               ^
      
      12 errors
      

      while the following code:

      class Main {
        static final void test() {
          org.apache.commons.collections4.iterators.ZippingIterator<
            org.apache.commons.collections4.iterators.ZippingIterator<
              org.apache.commons.collections4.iterators.ZippingIterator<String>
            >
          > x = null;
        }
      }
      

      produces:

      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 4: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>
       @ line 4, column 7.
               org.apache.commons.collections4.iterators.ZippingIterator<
               ^
      
      test1.groovy: 5: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>
       @ line 5, column 9.
                 org.apache.commons.collections4.iterators.ZippingIterator<String>
                 ^
      
      test1.groovy: 7: unable to resolve class org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<org.apache.commons.collections4.iterators.ZippingIterator<java.lang.String>>>
       @ line 7, column 7.
             > x = null;
               ^
      
      144 errors
      

      Of course, as you go deeper the compiler never terminates and the code blows up.

      Notes

      Tested against master

      Attachments

        Activity

          People

            Unassigned Unassigned
            theosot Thodoris Sotiropoulos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: