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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: