Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6289

Null arg call not ambiguouseven though it should be

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.7, 2.2.0-beta-2
    • Component/s: None
    • Labels:
      None

      Description

      A simple new Exception(null) should not succeed, since there is a String and a Throwable version of the constructor, that both have the same distance to Object. Instead a random one of the two is chosen.

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              blackdrag Jochen Theodorou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: