United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6863378 : Project Coin: Consider library support for underscores in numbers and binary literals

Details
Type:
Enhancement
Submit Date:
2009-07-22
Status:
Open
Updated Date:
2017-04-26
Project Name:
JDK
Resolved Date:
Component:
core-libs
OS:
generic,linux,solaris_10,windows_7
Sub-Component:
java.lang
CPU:
generic,x86,sparc
Priority:
P3
Resolution:
Unresolved
Affected Versions:
7
Targeted Versions:
tbd_major

Related Reports
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

Should be considered.
                                     
2009-07-22



Hardware and Software, Engineered to Work Together