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

Different error message should be generated if cyclic inheritance logic involves Object class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • tbd
    • 9
    • tools

    Description

      During work on JDK-8055079 for creation of golden files for negative tests, it was suggested to improve error message for test cases with cyclic inheritance. Test: langtools/test/tools/javac/Object2.java
      Golden file for this test will require updates once this issue is fixed.

      Current error diagnostic:
      Object2.java:11:25: compiler.err.cyclic.inheritance: java.lang.Cloneable
      1 error

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              sogoel Sonali Goel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: