United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6860965 Project Coin: binary literals
JDK-6860965 : Project Coin: binary literals

Details
Type:
Enhancement
Submit Date:
2009-07-15
Status:
Closed
Updated Date:
2012-01-13
Project Name:
JDK
Resolved Date:
2012-01-13
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
One of the submissions to Project Coin was to add binary integer literals to the platform:

http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000929.html

In short, with a prefix of "0b" literals could be written in binary such as 0b1111 instead of 0xF.

                                    

Comments
EVALUATION

A fine idea.
                                     
2009-07-15



Hardware and Software, Engineered to Work Together