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

Make FunctionDescriptor::toMethodType an instance method of Linker

    XMLWordPrintable

Details

    Description

      Having a single way to map a function descriptor into a method type seems overly restrictive. After all, any given linker implementation can have its own opinion on how layouts should be mapped into carriers. For instance, while a native linker might want to map `AddressLayout` into `MemorySegment`, a JNI linker might want to map the same layout into `Object` (as JNI only supports passing Java objects as references).

      Attachments

        Issue Links

          Activity

            People

              mcimadamore Maurizio Cimadamore
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: