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

Method::is_valid_method() compares 'this' with NULL

    XMLWordPrintable

Details

    • b05

    Backports

      Description

        Method::is_valid_method() compares 'this' with NULL. The compiler is free to elide this test, since (this == NULL) can never be true; applying an ordinary member function to NULL invokes undefined behavior. This function should be changed to be a static member function.

        Attachments

          Issue Links

            Activity

              People

                hseigel Harold Seigel (Inactive)
                hseigel Harold Seigel (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: