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

Whitebox API should allow compilation of <clinit>

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • 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>.

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

              Created:
              Updated:
              Resolved: