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

NumericLiteral typecheck is not allowing numeric literal to appear where an object is expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.3.0
    • 1.2.2.1
    • None
    • None

    Description

      NumericLiteral.typecheck() throws an exception when the literal is used in a context where a java.lang.Object is expected. However, a numeric literal is boxable to a java.lang.Number which inherits from Object so the typecheck should succeed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: