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

Fix GenStubs in langtools for build-infra builds

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 8
    • 8
    • infrastructure
    • b47
    • generic
    • generic

    Description

      The file langtools/make/tools/genstubs/GenStubs.java is not compiling:

      /home/kohair/hgrepos/jdk8/jdk8-build-infra-work/langtools/make/tools/genstubs/GenStubs.java:204: error: incompatible types; no instance(s) of type variable(s) K,V exist so that Map<K,V> conforms to DocCommentTable
                  tree.docComments = Collections.emptyMap();
                                                         ^
        required: DocCommentTable
        found: <K,V>Map<K,V>
        where K,V are type-variables:
          K extends Object declared in method <K,V>emptyMap()
          V extends Object declared in method <K,V>emptyMap()
      1 error

      Attachments

        Activity

          People

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: