Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4495744

Add binary designator for specifying integer values

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P5
    • None
    • 1.4.0
    • specification
    • generic
    • generic

    Description

      Name: bsC130419 Date: 08/23/2001


      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)


      Java continues the C-sytle tradition of octal, hex, and decimal specification
      of integers. C and java both lack the ability to specify integer values in
      binary. Some notation like in a form like the hexidecimal specification would
      suffice "0b111000". At present, binary data has to be converted to hex or
      octal or decimal which can lead to bugs.
      (Review ID: 130557)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              abuckley Alex Buckley
              bstrathesunw Bill Strathearn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: