Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8187359

JShell: Give comprehensible error when user method name matches Object method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 9
    • tools
    • None
    • b31

    Description

      Compilation fails when a user method name matches the name of a method on Object -- see JDK-8187137.

      Unless and until that is fixed, a comprehensible error message should be given.

      Attachments

        Issue Links

          Activity

            People

              rfield Robert Field (Inactive)
              rfield Robert Field (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: