-
Bug
-
Resolution: Fixed
-
P4
-
8, 9
-
b78
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135841 | emb-9 | Ivan Gerasimov | P4 | Resolved | Fixed | team |
JDK-8140887 | 8u91 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8133491 | 8u72 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8147219 | emb-8u91 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
In jdk/src/java.base/unix/classes/sun/nio/fs/MimeTypesFileTypeDetector.java there are two regexps:
String extRegex = "\\b" + EXTEQUAL +
"(\"[\\p{Graph}|\\p{Blank}]+?\"|\\p{Graph}+\\b)";
String[] extList = exts.split("[\\p{Blank}|\\p{Punct}]+");
which have redundant bar-character in the char class.
String extRegex = "\\b" + EXTEQUAL +
"(\"[\\p{Graph}|\\p{Blank}]+?\"|\\p{Graph}+\\b)";
String[] extList = exts.split("[\\p{Blank}|\\p{Punct}]+");
which have redundant bar-character in the char class.
- backported by
-
JDK-8133491 [fs] Regex has redundant | in the char class
-
- Resolved
-
-
JDK-8135841 [fs] Regex has redundant | in the char class
-
- Resolved
-
-
JDK-8140887 [fs] Regex has redundant | in the char class
-
- Resolved
-
-
JDK-8147219 [fs] Regex has redundant | in the char class
-
- Resolved
-