-
Bug
-
Resolution: Duplicate
-
P3
-
7
-
generic
-
generic
The following exception is throws when calling MethodHandles.filterArguments() with parameters where primitives are placed before references:
java.lang.UnsupportedOperationException: NYI: primitive parameters must follow references; entryType = (int,Object,Object)Object
at java.lang.invoke.ToGeneric.<init>(ToGeneric.java:98)
at java.lang.invoke.ToGeneric.of(ToGeneric.java:253)
at java.lang.invoke.ToGeneric.make(ToGeneric.java:245)
at java.lang.invoke.MethodHandleImpl.convertArguments(MethodHandleImpl.java:693)
at java.lang.invoke.MethodHandles.filterArguments(MethodHandles.java:1877)
java.lang.UnsupportedOperationException: NYI: primitive parameters must follow references; entryType = (int,Object,Object)Object
at java.lang.invoke.ToGeneric.<init>(ToGeneric.java:98)
at java.lang.invoke.ToGeneric.of(ToGeneric.java:253)
at java.lang.invoke.ToGeneric.make(ToGeneric.java:245)
at java.lang.invoke.MethodHandleImpl.convertArguments(MethodHandleImpl.java:693)
at java.lang.invoke.MethodHandles.filterArguments(MethodHandles.java:1877)
- duplicates
-
JDK-6939861 JVM should handle more conversion operations
- Closed
- relates to
-
JDK-7032323 code changes for JSR 292 EG adjustments to API, through Public Review
- Closed
-
JDK-7039220 MethodHandle.asCollector throws UnsupportedOperationException if arrayLength >= 10
- Closed