JDK-6863378 : Project Coin: Consider library support for underscores in numbers and binary literals
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,linux,solaris_10,windows_7
  • CPU: generic,x86,sparc
  • Submitted: 2009-07-22
  • Updated: 2018-08-14
  • Resolved: 2018-08-14
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Bug 6860973 "Project Coin: Underscores in literals" proposes to allow underscores to appear in integral and floating-point literals.  A decision should be made on whether or not analagous support should be provided in the various library methods that convert strings into numeric values.

If such support is *not* added, the specification of the methods in question should be amended to not directly refer to JLS grammar sections or to modify the grammar productions accordingly.

Not essential functionality; closing as will not fix.

EVALUATION Should be considered.