JDK-8215303 : Allowing additional currency code points from later Unicode updates
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P2
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2018-12-12
  • Updated: 2019-01-25
  • Resolved: 2019-01-08
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8215581 :  
Currency symbols are assigned in Currency Symbols Unicode Block (U+20A0..U+20CF), but the actual defined currency symbols in that block vary over Unicode releases. For example, the BitCoin sign (U+20BF) is only available in Unicode 10 and after. This means that it is usable only in JDK12 and after.

This enhancement intends to relax the spec for Character class, which would allow backporting the currency code points that are defined in later releases.
Per the discussion at core libs mailing list (https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-January/057684.html), it was agreed that it would be a compatibility risk that isJavaIdentifierStart/Part() behaves differently. Will not fix it like this issue was intended.