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

Null arg call not ambiguouseven though it should be

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.7, 2.2.0-beta-2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: