Whitebox API should allow compilation of <clinit>

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • Environment:

      Whitebox API

    • b120

      Currently, the Whitebox API method enqueueMethodForCompilation() takes a java.lang.reflect.Executable method to compile. Unfortunately, the static initializer <clinit> is not accessible through reflection and compilation can therefore not be triggered by using the Whitebox API.

      This should be fixed to allow tests to trigger compilation of <clinit>.

            Assignee:
            Tobias Hartmann
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: