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

VerifyError when using @ListenerList

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8-rc-4
    • 1.8.0
    • None
    • None

    Description

      If the generic type (Object below) has methods with primitive args, e.g. wait(long timeout), then a Verify Error occurs:

      import groovy.beans.ListenerList
      import java.lang.reflect.Modifier
      
      class C {
          @ListenerList List<Object> listeners
      }
      
      assert C.class.getMethod('getObjects')
      

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: