JDK-7035516 : JSR 292: NYI: primitive parameters must follow references
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-04-11
  • Updated: 2011-05-13
  • Resolved: 2011-05-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
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)