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

Test langtools/tools/javac/diags/CheckResourceKeys.java is failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • tools

      Test langtools/tools/javac/diags/CheckResourceKeys.java is failing after:
      http://hg.openjdk.java.net/jdk9/dev/langtools/rev/f839b50088bc

      This is because after the changeset, JavacFileManager reads a new System property ("show.fm.open.close"), and CheckResourcesKeys expects that all Strings in the built javac either have an entry in the resource bundle or are explicitly excluded, and neither is true for this new System property. A possible fix would be to include the property name in the list of excluded strings in the test.

            jjg Jonathan Gibbons
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: