Details

    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      generic
    • OS:
      generic

      Description

      Misleading error message from compiler.
      <java-code>
      public class Foo {
          public static void main(String... args) {
             System.out.println((className.class)obj.getI());
          }
      }
      </java-code>
      <output>
      Foo.java:3: ')' expected
             System.out.println((className.class)obj.getI());
                                                 ^
      1 error
      </output>

      User can't make any thing from the above error message.
      It can be improved for better understaing like illegal cast...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              savadhansunw Seetharama Avadhanam (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: