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

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

      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.

            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: