Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-1802

[drlvm][jit] Jitrino.OPT does not handle unresolved method parameters properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • DRLVM
    • None
    • Advanced

    Description

      Jitrino.OPT does not handle unresolved method parameters properly. Here is the testcase.
      compile this code:

      public class Test {

      public static void main(String[] args) {
      foo(null);
      }
      static void foo(X x) {}
      }
      class X {
      }

      delete X.class file and run the test with -Xem:opt cmdline option.

      The same problem occurs if class X is exception handler parameter.

      Attachments

        1. HARMONY-1802.diff
          13 kB
          George Timoshenko

        Issue Links

          Activity

            People

              geir Geir Magnusson Jr
              mfursov Mikhail Fursov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: