-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8
-
generic
-
linux_ubuntu
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.8.0-ea-b119)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b61, mixed mode)
A DESCRIPTION OF THE PROBLEM :
String.prototype.toLowerCase() [ES5.1 - 15.5.4.16] needs to apply the additional case folding rules from SpecialCasing.txt. This does not or rather no longer work correctly in Nashorn on Java8. This has regressed because ofJDK-8020037.
The bug report forJDK-8020037 looks wrong to me, also see JDK-7036910 for a related discussion.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jjs> "\u0130".toLowerCase() === "\u0069\u0307"
Expected: true
Actual: false
REPRODUCIBILITY :
This bug can be reproduced always.
Java(TM) SE Runtime Environment (build 1.8.0-ea-b119)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b61, mixed mode)
A DESCRIPTION OF THE PROBLEM :
String.prototype.toLowerCase() [ES5.1 - 15.5.4.16] needs to apply the additional case folding rules from SpecialCasing.txt. This does not or rather no longer work correctly in Nashorn on Java8. This has regressed because of
The bug report for
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jjs> "\u0130".toLowerCase() === "\u0069\u0307"
Expected: true
Actual: false
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8042814 String.toLowerCase regression - violates Unicode standard
- Resolved
- is blocked by
-
JDK-8041791 String.toLowerCase regression - violates Unicode standard
- Closed