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

fp.bugs 3463 nextToken() parses a lone '.' char in the input stream as a zero

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 1.0
    • core-libs
    • sparc
    • solaris_2.5


      I'm using version 1.0 of the JDK on Windows NT 3.51.
       
      nextToken() parses a lone '.' char in the input stream as a 0 (zero)
      because the nextToken parser is trying to parse a floating number
      and since there are no other digits around the '.' char it returns
      the number zero.
       
      Thanks,
       
      - Howard Mullings

            mr Mark Reinhold
            bhagen Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: