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

Rewrite binding of foreign classes to use javaClasses.h/cpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      Currently the ForeignGlobals class in the VM will, upon construction, look up field offsets of various internal foreign classes to be able to access them later.

      There is a simple, more established way of doing this by defining a VM proxy class in javaClass.cpp/h

      Previously, because the accessed java classes were in an incubator module, the implementation could not use javaClasses. But after moving to the java.base module we can.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: