You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/05/01 18:12:30 UTC

[GitHub] [netbeans] eirikbakke commented on pull request #2082: [NETBEANS-4177] Add another check for valid parameter list position to avoid exception if sourcecode is incorrect

eirikbakke commented on pull request #2082:
URL: https://github.com/apache/netbeans/pull/2082#issuecomment-622499839


   If you still have this patch running on your build, could you see if this also handles the following case?
   
   ```
   public class FooTest {
     public void someMethod() {
       List<String> someFoo = listOf(transform(null, s -> new Integer(5)));
     }
   
     public static <E> List<E> listOf(E element) {
       throw new UnsupportedOperationException();
     }
   
     public static <F, T> Iterable<T> transform(
         Iterable<F> fromIterable, Function<? super F, ? extends T> function)
     {
       throw new UnsupportedOperationException();
     }
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists