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

typo (?) on javac error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • x86
    • windows_nt



      Name: igT44549 Date: 02/26/99


      When a class is part of a package and is private, the error message from javac is:

      test4.java:3: The type type cx.test4 can't be private. Package members are always accessible within the current package.
      private class test4
                    ^

      I expect the error. But is the word "type" supposed to be repeated? I would expect "type" or "class" instead.
      (Review ID: 54794)
      ======================================================================

            iris Iris Clark
            iris Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: