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

javac accepts unicode digits - sometimes crashing

    XMLWordPrintable

Details

    • mantis
    • generic
    • solaris_8
    • Verified

    Description

      javac accepts unicode digits in many contexts in which the spec
      requires that it only accept ASCII digits.

      (1) in integral constants, after the first digit
      (2) in floating point literals, after the first digit
      (3) in unicode character constants

      (1) and (3) are fairly harmless, but (2) causes the compiler to crash.

      Attachments

        Activity

          People

            gafter Neal Gafter
            gafter Neal Gafter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: