Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7035516

JSR 292: NYI: primitive parameters must follow references

    XMLWordPrintable

Details

    • generic
    • generic

    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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kshiroko Kirill Shirokov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: