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

tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes

XMLWordPrintable

    • 9
    • b01
    • Verified

        The test tools/javac/NoStringToLower.java enforces a rule that String.toLowerCase is not used in any langtools source. However, the test is enforcing this on any class with the package prefix com.sun.tools. The result is that we are enforcing this rule on classes that do not originate from langtools source.

        To ensure that this does not happen, the test should enforce the rule for the following package prefixes:

        com.sun.tools.classfile
        com.sun.tools.doclet
        com.sun.tools.doclint
        com.sun.tools.javac
        com.sun.tools.javadoc
        com.sun.tools.javah
        com.sun.tools.javap
        com.sun.tools.jdeps
        com.sun.tools.sjavac

        Priority is P2, as this is a test failure.

              pgovereau Paul Govereau (Inactive)
              emc Eric Mccorkle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: