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

typo (?) on javac error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description



      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)
      ======================================================================

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: