RVM
  1. RVM
  2. RVM-255

Method inlining creates undefined returns with exceptions

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0, 2.9.0.1, 2.9.1
    • Fix Version/s: 1000
    • Component/s: Compiler: Optimizing
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Method inlining assumes a method that states it will return a value, returns a value. In Java this isn't always the case as a method can throw an exception. A common pattern is for a method to throw an unimplemented exception. This behavior is seen in benchmark code. For example running DaCapo jython with -X:aos:initial_compiler=opt and paranoid IR checking will result in a failure as uses are found for the result of a method that never defines the result value. A similar failure occurs in SPECjvm's javac.

      This tracker supersedes SF bug tracker 1358987:
      http://sourceforge.net/tracker/index.php?func=detail&aid=1358987&group_id=128805&atid=712768

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ian Rogers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: