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

Make whitebox API functions more stable

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 9
    • 8, 9
    • hotspot
    • Whitebox API

    • b64

    Backports

      Description

        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);
            }
        }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: