Details
-
Bug
-
Resolution: Fixed
-
P2
-
9
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8048475 | 8u25 | Eric Mccorkle | P2 | Resolved | Fixed | b05 |
JDK-8046334 | 8u20 | Eric Mccorkle | P2 | Closed | Fixed | b20 |
JDK-8052622 | emb-8u26 | Eric Mccorkle | P2 | Resolved | Fixed | b17 |
Description
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.
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.
Attachments
Issue Links
- backported by
-
JDK-8048475 tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes
- Resolved
-
JDK-8052622 tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes
- Resolved
-
JDK-8046334 tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes
- Closed
- relates to
-
JDK-8029800 Flags.java uses String.toLowerCase without specifying Locale
- Closed