IDEA-129734 IOOBE on decompiling certain method references
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
*/
|
||||
package pkg;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.util.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.function.IntBinaryOperator;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@@ -63,6 +65,10 @@ public class TestClassLambda {
|
||||
list.removeIf(s -> (bottom >= s.length() && s.length() <= top));
|
||||
}
|
||||
|
||||
public static void testLambda7(Annotation[] annotations) {
|
||||
Arrays.stream(annotations).map(Annotation::annotationType);
|
||||
}
|
||||
|
||||
public static OptionalInt reduce(IntBinaryOperator op) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user