Lambda Spec: Minimize analysis of boxing in most-specific test

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: None
    • Component/s: specification
    • Verified

      The most-specific test compares an argument expression to boxed and unboxed target types, and prefers the closest match. For top-level arguments, this serves as a means of disambiguation, but is also mostly redundant, given that the strict/loose applicability phases already disambiguate based on boxing.

      In the future it may be useful to eliminate the strict/loose phases. But for now, we should roll back the most-specific behavior to more closely match 7. The only time boxing/unboxing should be taken into account is when comparing return types of functional interfaces.

            Assignee:
            Dan Smith
            Reporter:
            Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: