Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-119

Compiler does not compile cast of Object to Number when consuming a generic return value

XMLWordPrintable

      There are certain situations where the compiler may be returned a boxed Number via a method with return type Object. The current routine which handles numeric conversions fails to generate a cast to class Number before attempting to convert to a primitive type or a specific boxed Numeric type. This causes a verify error in the resulting bytecode.

            rhn-engineering-adinn Andrew Dinn
            rhn-engineering-adinn Andrew Dinn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: