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

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

XMLWordPrintable

    • b05

        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.

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

                Created:
                Updated:
                Resolved: