Make whitebox API functions more stable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 9
    • Affects Version/s: 8, 9
    • Component/s: hotspot
    • Environment:

      Whitebox API

    • b64

        Executing the following code crashes the VM with a segmentation fault. The whitebox API functions should be more stable. In this case a NullPointerException should be thrown.

        public class Test {
            private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();

            static public void main(String[] args) {
                WHITE_BOX.isMethodCompiled(null);
            }
        }

              Assignee:
              Kirill Zhaldybin (Inactive)
              Reporter:
              Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: