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

com/sun/tools/javac/comp/Check.java refers to the undefined resource

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b46
    • CPU:
      generic
    • OS:
      generic

      Description

      In Check.java, it attempts to refer to the following resource.

      "unchecked.clash.with" (it means compiler.misc.unchecked.clash.with)

      --------------------------------------------------------------------------
          static Object uncheckedOverride(MethodSymbol m, MethodSymbol other) {
          String key =
              ((other.owner.flags() & INTERFACE) == 0) ? "unchecked.override" :
              ((m.owner.flags() & INTERFACE) == 0) ? "unchecked.implement" :
              "unchecked.clash.with";
          return new Diagnostic(key, m, m.location(), other, other.location());
          }
      --------------------------------------------------------------------------

      In compiler.properties, it's being defined as follows.

      compiler.misc.unchecked.clashes.with= {0} in {1} overrides {2} in {3}

      It seems to be a misspelling of "clashes".

        Attachments

          Activity

            People

            Assignee:
            gafter Neal Gafter
            Reporter:
            kurosaki Kenichi Kurosaki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: