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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: repo-panama
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: