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

[JVMCI] ExecuteInstalledCodeTest should compare arg[0] for <init>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot

      CompilerToVM::executeInstalledCode returns null if it's called for installedCode which points to an abstract class constructor.
      calling the same method via reflection throws an exception InstantiationException.

        1. CompileCodeTestCase.java
          5 kB
          Igor Ignatyev
        2. ExecuteInstalledCodeTest
          8 kB
          Igor Ignatyev
        3. ExecuteInstalledCodeTest.java
          8 kB
          Igor Ignatyev

            iignatyev Igor Ignatyev (Inactive)
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: